mirror of https://github.com/gorhill/uBlock.git
Use named "same document" constant instead of hardcoding
This commit is contained in:
parent
34b9b1ae8b
commit
7a0044391b
|
@ -318,7 +318,7 @@ var tabWatcher = {
|
|||
var tabId = vAPI.tabs.getTabId(browser);
|
||||
|
||||
// LOCATION_CHANGE_SAME_DOCUMENT = "did not load a new document"
|
||||
if ( flags & 1 ) {
|
||||
if ( flags & Ci.nsIWebProgressListener.LOCATION_CHANGE_SAME_DOCUMENT ) {
|
||||
vAPI.tabs.onUpdated(tabId, {url: location.asciiSpec}, {
|
||||
frameId: 0,
|
||||
tabId: tabId,
|
||||
|
|
Loading…
Reference in New Issue