From 63899b759818762dbd894a50ac9236f3e3507825 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Tue, 4 Jan 2011 11:31:44 -0500 Subject: Remove useless conditional. --- common/content/buffer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common') 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", -- cgit v1.2.3