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

1.19
לכבוד wmf5 - התפריטים שונו מ-h5 ל-h3
שורה 11: שורה 11:
                 $('#mw-panel > div.portal:eq(0)').after(
                 $('#mw-panel > div.portal:eq(0)').after(
                         div
                         div
                         .append($('<h5>').text('הקישורים שלי'))
                         .append($('<h3>').text('הקישורים שלי'))
                         .append($('<div>', {'class': 'body'}).css({display: state ? 'block' : 'hidden'}).html(linkstext))
                         .append($('<div>', {'class': 'body'}).css({display: state ? 'block' : 'hidden'}).html(linkstext))
                         );
                         );
שורה 21: שורה 21:
                 return false;
                 return false;
         });
         });
         var h5CustonTitle = $('<h5>').append(aLink1);
         var h3CustonTitle = $('<h3>').append(aLink1);
         var divCustonBody = $('<div id="p-customBody1" style="display:none;"></div>');
         var divCustonBody = $('<div id="p-customBody1" style="display:none;"></div>');
         divCustonBody.html(linkstext);
         divCustonBody.html(linkstext);
         var navCustonMain = $('<div></div>').append(h5CustonTitle).append(divCustonBody);
         var navCustonMain = $('<div></div>').append(h3CustonTitle).append(divCustonBody);
         var pCom = $('#p-community');
         var pCom = $('#p-community');
         navCustonMain.addClass(pCom.attr('class'));
         navCustonMain.addClass(pCom.attr('class'));