Fix regression of bf1d62ba4

https://gerrit.wikimedia.org/r/#/c/75076/ had multiple issues:
1. Selecting of input methods stopped working
2. With 'personal' position, ULS windows comes on every page click

Bug: 50559

Change-Id: I0cf815228760d27bca07acd58631713988659831
This commit is contained in:
Santhosh Thottingal
2013-07-22 16:09:49 +05:30
committed by Hashar
parent 18b8bbd89c
commit f144cd5c16

View File

@@ -69,11 +69,11 @@
.on( 'click', $.proxy( this.close, this ) ); .on( 'click', $.proxy( this.close, this ) );
// Hide the window when clicked outside // Hide the window when clicked outside
$( 'html' ).click( $.proxy( this.close, this ) ); $( 'html' ).click( $.proxy( this.hide, this ) );
// ... but when clicked on window do not hide. // ... but when clicked on window do not hide.
this.$window.on( 'click', function () { this.$window.on( 'click', function ( e ) {
return false; e.stopPropagation();
} ); } );
}, },