מדיה ויקי:Gadget-FlowDeluxeLocal.js: הבדלים בין גרסאות בדף

אין תקציר עריכה
אין תקציר עריכה
שורה 6: שורה 6:
var flowDeluxeButtonsInline = typeof window.flowDeluxeButtonsInline !== 'undefined' ?
var flowDeluxeButtonsInline = typeof window.flowDeluxeButtonsInline !== 'undefined' ?
window.flowDeluxeButtonsInline : true;
window.flowDeluxeButtonsInline : true;
function switchColor(color) {
if (color == '#e8f4ff')
  return 'white';
else
return '#e8f4ff';
}
function indentPostWithColors() {
function indentPostWithColors() {
var posts = $('.flow-post-main');
var posts = $('.flow-post-main');
// var color;
var colored = true;
var colored = true;
שורה 25: שורה 17:
$(posts[[i]]).removeClass('flow-color-indent');
$(posts[[i]]).removeClass('flow-color-indent');
colored = !colored;
colored = !colored;
// color = switchColor(color);
// posts[[i]].style.backgroundColor = color;
}
}
}
}