mirror of
https://github.com/fergalmoran/dss.git
synced 2025-12-25 11:07:35 +00:00
Altered type in utils
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
if (document.cookie.indexOf("sessionId")) {
|
||||
$.getJSON("/ajax/session_play_count", function(data) {
|
||||
console.log("utils: got playcount");
|
||||
if (data.play_count !== 0 && ((data.play_count % com.podnoms.settings.nag_count) === 0)) {
|
||||
if (data.play_count !== "0" && ((data.play_count % com.podnoms.settings.nag_count) === 0)) {
|
||||
return _this.modal("/dlg/PlayCountLoginAlert");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user