mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 04:15:11 +00:00
Increase banner rotation to 15s and change class name
This commit is contained in:
1 parent
77003b54d1
commit
8ffa94abfb
1 file changed
+4
-4
@@ -40,14 +40,14 @@ class LogMessage {
|
||||
};
|
||||
}
|
||||
|
||||
class SponsorRotation {
|
||||
class BannerRotation {
|
||||
constructor() {
|
||||
this.platinumIndex = 0;
|
||||
this.goldIndex = 0;
|
||||
this.platinumTimer = null;
|
||||
this.goldTimer = null;
|
||||
this.platinumInterval = 5000;
|
||||
this.goldInterval = 5000;
|
||||
this.platinumInterval = 15000;
|
||||
this.goldInterval = 15000;
|
||||
|
||||
this.init();
|
||||
}
|
||||
@@ -361,7 +361,7 @@ class Dashboard {
|
||||
this.initializeTheme();
|
||||
|
||||
// Initialize sponsor rotation
|
||||
this.sponsorRotation = new SponsorRotation();
|
||||
this.sponsorRotation = new BannerRotation();
|
||||
|
||||
// Add ESC key handler for closing modals
|
||||
$(document).keydown(function (e) {
|
||||
|
||||
Reference in new issue
Block a user