From 10067f2165c801ed9821be5c7bc3de33c1f73ad8 Mon Sep 17 00:00:00 2001 From: libccy Date: Fri, 17 Nov 2017 23:06:00 +0800 Subject: [PATCH] r --- game/game.js | 20 +++++++++++--------- game/update.js | 3 ++- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/game/game.js b/game/game.js index 9d5e5e85d..04a31ccc9 100644 --- a/game/game.js +++ b/game/game.js @@ -32422,6 +32422,17 @@ buttonExport.style.display='none'; }; inputExtLine.appendChild(buttonRename); + var buttonReset=document.createElement('button'); + buttonReset.innerHTML='重置'; + buttonReset.style.marginLeft='2px'; + buttonReset.style.marginRight='2px'; + buttonReset.style.display='none'; + buttonReset.onclick=function(){ + if(confirm('当前扩展将被清除,是否确定?')){ + game.editExtension(); + } + }; + inputExtLine.appendChild(buttonReset); var buttonSave=document.createElement('button'); buttonSave.innerHTML='保存'; buttonSave.style.marginLeft='2px'; @@ -32435,15 +32446,6 @@ processExtension(); }; inputExtLine.appendChild(buttonSave); - var buttonReset=document.createElement('button'); - buttonReset.innerHTML='重置'; - buttonReset.style.marginLeft='2px'; - buttonReset.style.marginRight='2px'; - buttonReset.style.display='none'; - buttonReset.onclick=function(){ - game.editExtension(); - }; - inputExtLine.appendChild(buttonReset); var buttonExport=document.createElement('button'); buttonExport.innerHTML='导出'; buttonExport.style.marginLeft='2px'; diff --git a/game/update.js b/game/update.js index 176f97eac..887ea6f2a 100644 --- a/game/update.js +++ b/game/update.js @@ -1,7 +1,8 @@ window.noname_update={ - version:'1.9.43.2', + version:'1.9.44', update:'1.9.43', changeLog:[ + '新扩展导出选项', 'bug修复' ], files:[