mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
Add note about portalButton dragging
This commit is contained in:
parent
a19c198cd3
commit
d521d87d23
1 changed files with 3 additions and 1 deletions
|
@ -263,6 +263,9 @@ function init_portal_button_and_overlay()
|
||||||
document.getElementsByTagName("head")[0].insertBefore(portalStyle, null);
|
document.getElementsByTagName("head")[0].insertBefore(portalStyle, null);
|
||||||
|
|
||||||
// Bind portal button
|
// Bind portal button
|
||||||
|
// FIXME : this somehow prevent the portalButton
|
||||||
|
// from being dragged correctly
|
||||||
|
// when mouse is moving too fast
|
||||||
window.addEvent(portalButton, 'click', function(e){
|
window.addEvent(portalButton, 'click', function(e){
|
||||||
// Prevent default click
|
// Prevent default click
|
||||||
window.eventPreventDefault(e);
|
window.eventPreventDefault(e);
|
||||||
|
@ -282,7 +285,6 @@ function init_portal_button_and_overlay()
|
||||||
Element.addClass(portalOverlay, 'ynh-fadeOut');
|
Element.addClass(portalOverlay, 'ynh-fadeOut');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue