aboutsummaryrefslogtreecommitdiffstats
path: root/src/support.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2009-12-03 13:59:19 -0500
committerjeresig <jeresig@gmail.com>2009-12-03 13:59:19 -0500
commitc2ebd0982609b98d6a389eea792d7a465dccc47a (patch)
tree5b120d21de0755d0036825306f9aacce8d963fe7 /src/support.js
parent8a33a855b588bc398f31f971eb4b3c2f4cac84f7 (diff)
downloadjquery-c2ebd0982609b98d6a389eea792d7a465dccc47a.tar.gz
jquery-c2ebd0982609b98d6a389eea792d7a465dccc47a.zip
Use now() in support.js instead of getTime.
Diffstat (limited to 'src/support.js')
-rw-r--r--src/support.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.js b/src/support.js
index 332839df8..5fa45d230 100644
--- a/src/support.js
+++ b/src/support.js
@@ -5,7 +5,7 @@
var root = document.documentElement,
script = document.createElement("script"),
div = document.createElement("div"),
- id = "script" + (new Date).getTime();
+ id = "script" + now();
div.style.display = "none";
div.innerHTML = ' <link/><table></table><a href="/a" style="color:red;float:left;opacity:.55;">a</a><select><option>text</option></select>';