无编辑摘要
imported>=海豚= 无编辑摘要 |
imported>=海豚= 无编辑摘要 |
||
第11行: | 第11行: | ||
const wpSave = $("#wpSave"); | const wpSave = $("#wpSave"); | ||
const editform = $("#editform"); | const editform = $("#editform"); | ||
const SYMBOL_UNDEFINED = Symbol("SYMBOL_UNDEFINED"); | const SYMBOL_UNDEFINED = Symbol("SYMBOL_UNDEFINED"); | ||
wpSave.val = (value = SYMBOL_UNDEFINED) => { | wpSave.val = (value = SYMBOL_UNDEFINED) => { | ||
第45行: | 第44行: | ||
} | } | ||
}); | }); | ||
const textarea = $("# | const textarea = $("#wpTextbox0"); | ||
$("#copyCurrentRawCode").on("click", async () => { | $("#copyCurrentRawCode").on("click", async () => { | ||
await mw.loader.using('mediawiki.notification'); | await mw.loader.using('mediawiki.notification'); |