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

מ החלפת $ready בהוק wikipage.content על מנת שיראה היטב בתצוגה מקדימה מהירה
מ quick preview
שורה 810: שורה 810:
   
   
function doIt() {
function doIt() {
$(wrapperSelector).each(function( ind ) {
$(wrapperSelector, $content).each(function( ind ) {
var
var
wrapperDiv = $(this),
wrapperDiv = $(this),
שורה 890: שורה 890:
}
}
   
   
if ( $(wrapperSelector).length)
if ( $(wrapperSelector, $content).length)
mw.loader.using( ['mediawiki.api', 'jquery.ui.tabs', 'jquery.ui.slider'] ).done( populateImages );
mw.loader.using( ['mediawiki.api', 'jquery.ui.tabs', 'jquery.ui.slider'] ).done( populateImages );
});
});