[Pkg-mozext-commits] [itsalltext] 71/459: fixed lint: parseInt missing radix
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:07 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit f2f7e74d309673ad3626d33dba98afa3e2425cb4
Author: docwhat at gerf.org <docwhat at gerf.org>
Date: Wed Jan 10 12:51:38 2007 -0500
fixed lint: parseInt missing radix
---
chrome/content/itsalltext.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index 818b918..6b298a5 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -266,7 +266,7 @@ function ItsAllTextOverlay() {
/* Get a serial that's unique to this document */
var serial = doc.getAttribute(attr);
- if (serial) { serial = parseInt(serial)+1;
+ if (serial) { serial = parseInt(serial, 10)+1;
} else { serial = 1; }
id = [MYSTRING,'generated_id',name,serial].join('_');
doc.setAttribute(attr,serial);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list