| Index: include.postload.js |
| =================================================================== |
| --- a/include.postload.js |
| +++ b/include.postload.js |
| @@ -330,6 +330,13 @@ |
| // on whether the user actually wants these filters |
| function clickHide_rulesPending() { |
| clickHide_activated = false; |
| + |
| + if (clickHideFiltersDialog) |
| + { |
| + document.documentElement.removeChild(clickHideFiltersDialog); |
| + clickHideFiltersDialog = null; |
| + } |
| + |
| document.removeEventListener("mousedown", clickHide_stopPropagation, true); |
| document.removeEventListener("mouseup", clickHide_stopPropagation, true); |
| document.removeEventListener("mouseenter", clickHide_stopPropagation, true); |
| @@ -344,12 +351,6 @@ |
| { |
| clickHide_rulesPending(); |
| - if (clickHideFiltersDialog) |
| - { |
| - document.documentElement.removeChild(clickHideFiltersDialog); |
| - clickHideFiltersDialog = null; |
| - } |
| - |
| clickHide_filters = null; |
| lastRightClickEvent = null; |