מדיה ויקי:Common.js: הבדלים בין גרסאות בדף
שינוי סגנון אחרי שהטבלה הטענה |
Make the table appear only after the collapsible styles are loaded, so that it won't delay showing the search results |
||
| שורה 249: | שורה 249: | ||
mw.hook( 'he.wikipedia.collapsetables.loaded' ).add( function () { | mw.hook( 'he.wikipedia.collapsetables.loaded' ).add( function () { | ||
$( '#mw-search-meta-strings' ).css( ' | // Make the table appear only after the collapsible styles are loaded, | ||
// so that it won't delay showing the search results | |||
$( '#mw-search-meta-strings' ).css( 'display', 'table' ); | |||
} ); | } ); | ||
} ); | } ); | ||