Moving "stringToNumber" function to skin.js (event.js)
parent
053f57b788
commit
b12d0acab6
|
@ -1956,10 +1956,5 @@ function panZoomOut(el) {
|
||||||
manageCursor(id);
|
manageCursor(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function stringToNumber(str) {
|
|
||||||
//This function will probably need to be moved to the main JS file, because now used on Watch & Montage pages
|
|
||||||
return parseInt(str.replace(/\D/g, ''));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Kick everything off
|
// Kick everything off
|
||||||
$j( window ).on("load", initPage);
|
$j( window ).on("load", initPage);
|
||||||
|
|
Loading…
Reference in New Issue