mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Updated frontpage-rotation somewhat, to prevent more than one timer to be active at any given time
This commit is contained in:
2
server/public/assets/dist/main.min.js
vendored
2
server/public/assets/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -82,8 +82,10 @@ var Frontpage = {
|
|||||||
lists.unshift(pinned);
|
lists.unshift(pinned);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!Helper.mobilecheck())
|
if(!Helper.mobilecheck()) {
|
||||||
|
clearTimeout(rotation_timeout);
|
||||||
Frontpage.add_backdrop(lists, 0);
|
Frontpage.add_backdrop(lists, 0);
|
||||||
|
}
|
||||||
|
|
||||||
pre_card = $(channel_list);
|
pre_card = $(channel_list);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user