From 1ba66f6093d4a6c8ec6424fc6c3fceea33ba74d5 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 4 Nov 2010 10:47:19 -0400 Subject: [PATCH] Add missing 'let'. --HG-- extra : rebase_source : 42df33554d18feb86662bd5d8a940ca69e13a5aa --- common/content/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/browser.js b/common/content/browser.js index 5ff1289c..067f1c8c 100644 --- a/common/content/browser.js +++ b/common/content/browser.js @@ -27,7 +27,7 @@ const Browser = Module("browser", { incrementURL: function (count) { let matches = buffer.URL.match(/(.*?)(\d+)(\D*)$/); dactyl.assert(matches); - oldNum = matches[2]; + let oldNum = matches[2]; // disallow negative numbers as trailing numbers are often proceeded by hyphens let newNum = String(Math.max(parseInt(oldNum, 10) + count, 0));