updated 界面体验修改

This commit is contained in:
郑浩乐 2016-03-17 14:57:36 +08:00
parent 8386e443e6
commit 9d8d58ed3c

View File

@ -97,10 +97,11 @@
var index = value.lastIndexOf('的');
index = Math.max(0,index);
$textarea[0].value = value.substr(0,index);
$textarea[1].value = '';
}
$buttons[2].onclick = function(){
$textarea[0].value = '';
$textarea[1].value = $textarea[0].value = '';
}
</script>
</body>