鼠标放在自动保存“恢复”、“不恢复”上要变成手型

This commit is contained in:
cxt 2016-10-21 09:20:58 +08:00
parent f9505a24b9
commit 86946f9d2c
1 changed files with 2 additions and 2 deletions

View File

@ -1301,7 +1301,7 @@ function elocalStorage(editor,mdu){
editor2 = editor; editor2 = editor;
var oc = window.sessionStorage.getItem('content'+mdu); var oc = window.sessionStorage.getItem('content'+mdu);
if(oc !== null ){ if(oc !== null ){
var h = '您上次有已保存的数据,是否<a onclick="rec_data(\'content\',\''+ mdu + '\')">恢复</a> ? / <a onclick="clear_data(\'content\',\''+ mdu + '\')">不恢复</a>'; var h = '您上次有已保存的数据,是否<a style="cursor: pointer;" onclick="rec_data(\'content\',\''+ mdu + '\')">恢复</a> ? / <a style="cursor: pointer;" onclick="clear_data(\'content\',\''+ mdu + '\')">不恢复</a>';
$('#e_tips').html(h); $('#e_tips').html(h);
} }
setInterval(function() { setInterval(function() {
@ -1316,7 +1316,7 @@ function elocalStorage(editor,mdu){
if(!editor.isEmpty()){ if(!editor.isEmpty()){
add_data("content",mdu,editor.html()); add_data("content",mdu,editor.html());
$('#e_tip').html(" 数据已于 " + h + ':' + m + ':' + s +" 保存 "); $('#e_tip').html(" 数据已于 " + h + ':' + m + ':' + s +" 保存 ");
$('#e_tips').html(""); //$('#e_tips').html("");
} }
},10000); },10000);