diff options
author | Kris Maglione <maglione.k@gmail.com> | 2011-01-04 11:31:44 -0500 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2011-01-04 11:31:44 -0500 |
commit | 63899b759818762dbd894a50ac9236f3e3507825 (patch) | |
tree | 6860be520101ad11f4ef6321f2c458e9451193ff /common | |
parent | c833f864d370eb77ca2616f18afadaf081ab0e11 (diff) | |
download | pentadactyl-63899b759818762dbd894a50ac9236f3e3507825.tar.gz |
Remove useless conditional.
Diffstat (limited to 'common')
-rw-r--r-- | common/content/buffer.js | 3 |
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", |