Khác biệt giữa bản sửa đổi của “MediaWiki:Common.js”
Không có tóm lược sửa đổi |
Không có tóm lược sửa đổi |
||
| Dòng 21: | Dòng 21: | ||
if ($duplicates) $duplicates.parentElement.removeChild($duplicates); | if ($duplicates) $duplicates.parentElement.removeChild($duplicates); | ||
}else{ | }else{ | ||
document.querySelector('.mw-htmlform-ooui-wrapper').style.display='block'; | const el = document.querySelector('.mw-htmlform-ooui-wrapper'); | ||
if (el) { | |||
el.style.display = 'block'; | |||
} | |||
} | } | ||