Browse Source

Use named "same document" constant instead of hardcoding

pull/2/head
Cheng Sun 10 years ago
committed by gorhill
parent
commit
b843ddfd70
  1. 2
      platform/firefox/vapi-background.js

2
platform/firefox/vapi-background.js

@ -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…
Cancel
Save