鼠标放在自动保存“恢复”、“不恢复”上要变成手型
This commit is contained in:
parent
f9505a24b9
commit
86946f9d2c
|
@ -1301,7 +1301,7 @@ function elocalStorage(editor,mdu){
|
|||
editor2 = editor;
|
||||
var oc = window.sessionStorage.getItem('content'+mdu);
|
||||
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);
|
||||
}
|
||||
setInterval(function() {
|
||||
|
@ -1316,7 +1316,7 @@ function elocalStorage(editor,mdu){
|
|||
if(!editor.isEmpty()){
|
||||
add_data("content",mdu,editor.html());
|
||||
$('#e_tip').html(" 数据已于 " + h + ':' + m + ':' + s +" 保存 ");
|
||||
$('#e_tips').html("");
|
||||
//$('#e_tips').html("");
|
||||
}
|
||||
},10000);
|
||||
|
||||
|
|
Loading…
Reference in New Issue