12.12.2023, 08:25
Use this to enable automatic plan switching only for certain users (admin and user123 in this example):
Code:
$(function() {
var show = window.showPrevNextPlan;
var user = window.Globals ? window.Globals.user : '';
if (show && (user == 'admin' || user == 'user123')) {
setInterval(function() {
show(true);
}, 10 * 1000);
}
});