RCFilters: Only open one 'Whats This' popup at a time
authorMoriel Schottlender <moriel@gmail.com>
Tue, 18 Jul 2017 22:19:40 +0000 (15:19 -0700)
committerMoriel Schottlender <moriel@gmail.com>
Tue, 18 Jul 2017 22:21:46 +0000 (15:21 -0700)
Remove 'overlay' and this.$element from the $autoCloseIgnore, since
the entire popup is in the overlay anyways.

Bug: T169047
Change-Id: I57300413297d86eca9bcc3d49766f4e41ab628be

resources/src/mediawiki.rcfilters/ui/mw.rcfilters.ui.FilterMenuSectionOptionWidget.js

index 9f41712..88479c3 100644 (file)
@@ -72,7 +72,6 @@
                                classes: [ 'mw-rcfilters-ui-filterMenuSectionOptionWidget-whatsThisButton' ],
                                flags: [ 'progressive' ],
                                popup: {
-                                       $autoCloseIgnore: this.$element.add( this.$overlay ),
                                        padded: false,
                                        align: 'center',
                                        position: 'above',