mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
remove messy bits
This commit is contained in:
parent
0ff5137da3
commit
c67c7ca746
1 changed files with 2 additions and 2 deletions
|
@ -3650,9 +3650,9 @@ function Ace2Inner(){
|
||||||
{
|
{
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
var originalBackground = parent.parent.$('#revisionlink').css("background")
|
var originalBackground = parent.parent.$('#revisionlink').css("background")
|
||||||
parent.parent.$('#revisionlink').css({"background":"lightyellow", 'box-shadow': '0 0 50px yellow'});
|
parent.parent.$('#revisionlink').css({"background":"lightyellow"});
|
||||||
top.setTimeout(function(){
|
top.setTimeout(function(){
|
||||||
parent.parent.$('#revisionlink').css({"background":originalBackground, 'box-shadow': 'none'});
|
parent.parent.$('#revisionlink').css({"background":originalBackground});
|
||||||
}, 1000);
|
}, 1000);
|
||||||
parent.parent.pad.collabClient.sendMessage({"type":"SAVE_REVISION"}); /* The parent.parent part of this is BAD and I feel bad.. It may break something */
|
parent.parent.pad.collabClient.sendMessage({"type":"SAVE_REVISION"}); /* The parent.parent part of this is BAD and I feel bad.. It may break something */
|
||||||
specialHandled = true;
|
specialHandled = true;
|
||||||
|
|
Loading…
Reference in a new issue