Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions js/jquery.prettyLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
e = e ? e : window.event;

// Set the cursor pos only if the even is returned by the browser.
cur_x = (e.clientX) ? e.clientX : cur_x;
cur_y = (e.clientY) ? e.clientY : cur_y;
cur_x = (e.clientX) ? e.clientX : (typeof cur_x==='undefined'?0:cur_x);
cur_y = (e.clientY) ? e.clientY : (typeof cur_y==='undefined'?0:cur_y);

left_pos = cur_x + settings.offset_left + scrollPos['scrollLeft'];
top_pos = cur_y + settings.offset_top + scrollPos['scrollTop'];
Expand Down Expand Up @@ -104,4 +104,4 @@
return this;
};

})(jQuery);
})(jQuery);