summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ea5bd7b)
raw | patch | inline | side by side (parent: ea5bd7b)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 17 Jan 2004 01:49:18 +0000 (01:49 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Sat, 17 Jan 2004 01:49:18 +0000 (01:49 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2039 57a73879-2fb5-44c3-a270-3262357dd7e2
templates/classic/html/help_controls.js | patch | blob | history |
index c2a84e414583e335042baab6c99a401acd721908..050c8dc6e79456246f76308184d58f354b1e8221 100644 (file)
}
}
-// add the pop() and push() method to Array prototype for old IE browser
-if (bName() == 1 && bVer() >= 5.5);
-else {
+// add the pop() and push() method to Array if they're not there
+if (!Array.prototype.pop) {
Array.prototype.pop = pop;
+}
+if (!Array.prototype.push) {
Array.prototype.push = push;
}