summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/content/buffer.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js
index 43fc3e41..171e536f 100644
--- a/common/content/buffer.js
+++ b/common/content/buffer.js
@@ -282,7 +282,7 @@ var Buffer = Module("buffer", {
},
onProgressChange: function onProgressChange(webProgress, request, curSelfProgress, maxSelfProgress, curTotalProgress, maxTotalProgress) {
onProgressChange.superapply(this, arguments);
- statusline.updateProgress(curTotalProgress/maxTotalProgress);
+ statusline.updateProgress(curTotalProgress / maxTotalProgress);
},
// happens when the users switches tabs
onLocationChange: function onLocationChange(webProgress, request, uri) {
@@ -297,7 +297,6 @@ var Buffer = Module("buffer", {
if (collapse)
dactyl.focus(document.documentElement);
config.browser.mCurrentBrowser.collapsed = collapse;
- uri && uri.scheme === "dactyl" && webProgress.isLoadingDocument;
util.timeout(function () {
buffer._triggerLoadAutocmd("LocationChange",