Moving "stringToNumber" function to skin.js (event.js)

pull/4018/head
IgorA100 2024-05-21 17:23:32 +03:00 committed by GitHub
parent 053f57b788
commit b12d0acab6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -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);