forked from 0x2620/oxjs
use base 10 in parseInt, use Math.floor for numbers
This commit is contained in:
parent
79bb322112
commit
8bc8c57373
19 changed files with 44 additions and 45 deletions
|
|
@ -95,7 +95,7 @@ window.Ox = {
|
|||
} else {
|
||||
element.onload = callback;
|
||||
}
|
||||
element.src = path + script + '?' + parseInt(Math.random() * 1000000);
|
||||
element.src = path + script + '?' + Math.floor(Math.random() * 1000000);
|
||||
element.type = 'text/javascript';
|
||||
head.appendChild(element);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue