پرش به محتوا

مدیاویکی:Common.js: تفاوت میان نسخه‌ها

۲۰۸ بایت اضافه‌شده ،  ‏۱۲ فوریهٔ ۲۰۱۷
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱۵۱: خط ۱۵۱:
             Button.appendChild( ButtonLink );
             Button.appendChild( ButtonLink );
             Button.appendChild( document.createTextNode( ']' ) );
             Button.appendChild( document.createTextNode( ']' ) );
 
/**
             Header.insertBefore( Button, Header.firstChild );
  * AMDEADMAN Edit for readmore collapse
  */
            if($( Tables[i] ).hasClass( 'readmore' )){
                $(Header).html($(Header).text()).append(Button);
             } else {
                Header.insertBefore( Button, Header.firstChild );
            }
             tableIndex++;
             tableIndex++;
         }
         }
۲۱۸٬۸۴۲

ویرایش