You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/utenti/edit.php
+20-10Lines changed: 20 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -371,24 +371,34 @@ function(data){
371
371
}
372
372
);
373
373
}
374
-
var mySkins=["skin-blue","skin-black","skin-red","skin-yellow","skin-purple","skin-green","skin-blue-light","skin-black-light","skin-red-light","skin-yellow-light","skin-purple-light","skin-green-light"];
374
+
function applySidebarTheme(theme){
375
+
var sidebar = $(".main-sidebar");
376
+
if (!sidebar.length) {
377
+
return;
378
+
}
375
379
376
-
function changeSkin(cls){
377
-
$.each(mySkins,function(i){
378
-
$("body").removeClass(mySkins[i])
380
+
var classes = (sidebar.attr("class") || "").split(/\s+/);
0 commit comments