Skip to content

Commit

Permalink
Use now() in support.js instead of getTime.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeresig committed Dec 3, 2009
1 parent 8a33a85 commit c2ebd09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>';
Expand Down

0 comments on commit c2ebd09

Please sign in to comment.