From 2fd7a73c628113e1cffab8bc15f1ce8cbbf393bc Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 25 Jun 2015 19:09:47 -0400 Subject: [PATCH] this fixes #404 --- src/js/logger-ui.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/js/logger-ui.js b/src/js/logger-ui.js index 77a9574ef..192f14eb9 100644 --- a/src/js/logger-ui.js +++ b/src/js/logger-ui.js @@ -1529,6 +1529,11 @@ var rowFilterer = (function() { uDom('#filterButton').on('click', onFilterButton); uDom('#filterInput').on('input', onFilterChangedAsync); + // https://github.com/gorhill/uBlock/issues/404 + // Ensure page state is in sync with the state of its various widgets. + parseInput(); + filterAll(); + return { filterOne: filterOne, filterAll: filterAll @@ -1712,6 +1717,10 @@ uDom.onLoad(function() { uDom('#content table').on('click', 'tr.canMtx > td:nth-of-type(2)', popupManager.toggleOn); uDom('#content').on('click', 'tr.cat_net > td:nth-of-type(4)', netFilteringManager.toggleOn); uDom('#content').on('click', 'tr.canLookup > td:nth-of-type(3)', reverseLookupManager.toggleOn); + + // https://github.com/gorhill/uBlock/issues/404 + // Ensure page state is in sync with the state of its various widgets. + pageSelectorChanged(); }); /******************************************************************************/