Skip to content

Commit

Permalink
remove tools
Browse files Browse the repository at this point in the history
  • Loading branch information
deconf authored and deconf committed Feb 5, 2024
1 parent a3d0fa7 commit 6c5d762
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions front/js/widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

tools = {
isNumeric : function (string) {
return !isNaN(parseFloat(string)) && isFinite(string);
}
}

jQuery( window ).on("resize", function () {
if ( typeof aiwp_drawFrontWidgetChart == "function" && typeof aiwpFrontWidgetData !== 'undefined' && !(!isNaN(parseFloat(aiwpFrontWidgetData)) && isFinite(aiwpFrontWidgetData)) ) {
aiwp_drawFrontWidgetChart( aiwpFrontWidgetData );
Expand Down

0 comments on commit 6c5d762

Please sign in to comment.