「MediaWiki:MobileUI.js」の版間の差分

編集の要約なし
編集の要約なし
タグ: モバイル編集 モバイルウェブ編集
編集の要約なし
タグ: モバイル編集 モバイルウェブ編集
 
(同じ利用者による、間の1版が非表示)
321行目: 321行目:
         outerSpan.classList.add("toggle-list-item__icon", "mw-ui-icon", "mw-ui-icon-before", ...item.iconClass);
         outerSpan.classList.add("toggle-list-item__icon", "mw-ui-icon", "mw-ui-icon-before", ...item.iconClass);
         a.append(outerSpan);
         a.append(outerSpan);
        const spacingSpan = window.document.createElement("span");
        spacingSpan.textContent = " ";
        outerSpan.append(spacingSpan);


         const innerSpan = window.document.createElement("span");
         const innerSpan = window.document.createElement("span");
338行目: 342行目:


         if (menu) {
         if (menu) {
             const lastItem = menu.lastChild;
             const lastItem = menu.lastElementChild;
             if (lastItem) {
             if (lastItem) {
                 for (const item of items) {
                 for (const item of items) {