mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
initial modal rework to make it less intrusive on disconnect
This commit is contained in:
parent
6fd73ecfda
commit
dba26821e1
3 changed files with 88 additions and 73 deletions
|
@ -190,13 +190,13 @@ var padmodals = (function()
|
|||
{
|
||||
'opacity': 1
|
||||
}, duration);
|
||||
$("#modaloverlay").show().css(
|
||||
/*$("#modaloverlay").show().css(
|
||||
{
|
||||
'opacity': 0
|
||||
}).animate(
|
||||
{
|
||||
'opacity': 1
|
||||
}, duration);
|
||||
}, duration);*/
|
||||
},
|
||||
hideModal: function(duration)
|
||||
{
|
||||
|
@ -208,15 +208,15 @@ var padmodals = (function()
|
|||
'opacity': 0
|
||||
}, duration, function()
|
||||
{
|
||||
$("#modaloverlay").hide();
|
||||
//$("#modaloverlay").hide();
|
||||
});
|
||||
$("#modaloverlay").animate(
|
||||
/*$("#modaloverlay").animate(
|
||||
{
|
||||
'opacity': 0
|
||||
}, duration, function()
|
||||
{
|
||||
$("#modaloverlay").hide();
|
||||
});
|
||||
});*/
|
||||
},
|
||||
hideFeedbackLaterIfNoOtherInteraction: function()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue