שינויים

קפיצה אל: ניווט, חיפוש

מדיה ויקי:Common.js

נוספו 745 בתים, 11:55, 14 בספטמבר 2018
אין תקציר עריכה
if(!$t.length)
return;
$("h1").before('<div class="hamore-toolbox"><input type="checkbox" class="hamore-sources-cb" /> מקורות <input type="checkbox" class="hamore-terms-cb" /> מונחים <input type="checkbox" class="hamore-circles-cb" disabled="disabled" /> (הבהרות תרגום) <input type="checkbox" class="hamore-squares-cb" disabled="disabled" /> [השלמת ציטוטים] <input type="checkbox" class="hamore-indexes-cb" /> מספור פנימי <input type="checkbox" class="hamore-sourced-hebrews-cb" /> צביעת עברית במקור <input type="checkbox" class="hamore-hebrew-cb" /> תרגום עברי <input type="checkbox" class="hamore-arabic-cb" /> מקור ערבי</div>');
$(".hamore-toolbox input").click();
if (!localStorage) localStorage = {};
$(".hamore-sources-cb").click(function() {
$t.toggleClass("hamore-hide-sources");
$t.toggleClass("hamore-hide-arabic");
});
 
if(localStorage['hamore-sources-cb'] === "0")
$(".hamore-sources-cb").click();
if(localStorage['hamore-terms-cb'] === "0")
$(".hamore-terms-cb").click();
if(localStorage['hamore-circles-cb'] === "0")
$(".hamore-circles-cb").click();
if(localStorage['hamore-squares-cb'] === "0")
$(".hamore-squares-cb").click();
if(localStorage['hamore-indexes-cb'] === "0")
$(".hamore-indexes-cb").click();
if(localStorage['hamore-sourced-hebrews-cb'] === "0")
$(".hamore-sourced-hebrews-cb").click();
if(localStorage['hamore-hebrew-cb'] === "0")
$(".hamore-hebrew-cb").click();
if(localStorage['hamore-arabic-cb'] === "0")
$(".hamore-arabic-cb").click();
});

תפריט ניווט