Rev1786, Fix sidebar on FF
This commit is contained in:
parent
5cf96dbada
commit
e37daabb53
3 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ class Sidebar extends Class
|
|||
|
||||
# Detect dragging
|
||||
@fixbutton.on "mousedown touchstart", (e) =>
|
||||
if event.button > 0 # Right or middle click
|
||||
if e.button > 0 # Right or middle click
|
||||
return
|
||||
e.preventDefault()
|
||||
|
||||
|
|
|
@ -237,7 +237,7 @@ window.initScrollable = function () {
|
|||
*/
|
||||
this.fixbutton.on("mousedown touchstart", (function(_this) {
|
||||
return function(e) {
|
||||
if (event.button > 0) {
|
||||
if (e.button > 0) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue