Glorious Wiki readers. We are adding the Midnight Magic video and livestream to the wiki. We appreciate your patience as we process the new and updated information! |
MediaWiki:Common.js
اذهب إلى التنقل
اذهب إلى البحث
ملاحظة: بعد الحفظ، أنت قد تحتاج إلى إفراغ الكاش الخاص بمتصفحك لرؤية التغييرات.
- فايرفوكس / سافاري: أمسك Shift أثناء ضغط Reload، أو اضغط على إما Ctrl-F5 أو Ctrl-R (⌘-R على ماك)
- جوجل كروم: اضغط Ctrl-Shift-R (⌘-Shift-R على ماك)
- إنترنت إكسبلورر: أمسك Ctrl أثناء ضغط Refresh، أو اضغط Ctrl-F5
- أوبرا: اذهب إلى Menu → Settings (Opera → Preferences على ماك) ثم إلى Privacy & security → Clear browsing data → Cached images and files.
$(function () {
$('.gallery video:not([controls])').click(function (e) {
var url = $(e.target).find('a').text();
window.location.href = url;
});
$('.gallery.hoverhighlight a:has(img[link])').removeClass('image').off('click').click(function (e) {
e.preventDefault();
e.stopPropagation();
return false;
});
$('.gallery.hoverhighlight a').off('click').click(function (e) {
e.preventDefault();
e.stopPropagation();
console.log(url);
return false;
});
});