mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Use named "same document" constant instead of hardcoding
This commit is contained in:
parent
34b9b1ae8b
commit
7a0044391b
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue