Skip to content

Commit

Permalink
feat(style): including some js improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Sep 13, 2022
1 parent 403ef35 commit 67365d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pointerplus.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ function getParams(script_choosen) {

jQuery(function ($) {
'use strict';
timer = setTimeout(function () {
setTimeout(function () {
var pointerplus = window[getParams(pp_scripts).var];
$.each(pointerplus, function (key, pointer) {
if ( pointer.selector === '' || pointer.selector === undefined ) {
if ( pointer.selector === '' || typeof pointer.selector === "undefined" ) {
return;
}
pointer.class += ' pp-' + key;
Expand Down

0 comments on commit 67365d6

Please sign in to comment.