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

←using [[mw:CodeEditor|CodeEditor]]: white-space damage, nitpicking.
בג שהפריע רק למשתמשי אקספלורר.
שורה 75: שורה 75:
}
}
}
}
$('#bodyContent').find('li>a, .CategoryTreeLabel').each(function(){this.href = null;});
$('li a, .CategoryTreeLabel', mw.util.$content).attr({href: '#noSuchAnchor'});
},
},


שורה 484: שורה 484:
this.makeClickable();
this.makeClickable();
$("#cat_a_lot_data").show();
$("#cat_a_lot_data").show();
$('#cat_a_lot').resizable({ handles: 'n', alsoResize: '#cat_a_lot_category_list',
$('#cat_a_lot').resizable({
resize: function(event, ui) {
handles: 'n',  
$(this).css({left:"", top:""});
alsoResize: '#cat_a_lot_category_list',
catALot.setHeight = $(this).height();
resize: function(event, ui) {
$('#cat_a_lot_category_list').css({maxHeight: '', width: ''});
$(this).css({left:"", top:""});
} });
catALot.setHeight = $(this).height();
$('#cat_a_lot_category_list').css({maxHeight: '', width: ''});
}  
});
$('#cat_a_lot_category_list').css({maxHeight: '450px'});
$('#cat_a_lot_category_list').css({maxHeight: '450px'});
if (this.searchmode) this.updateCats("Pictures and images");
if (this.searchmode) this.updateCats("Pictures and images");