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();
|
||||
|
|
|
@ -9,7 +9,7 @@ class Config(object):
|
|||
|
||||
def __init__(self, argv):
|
||||
self.version = "0.5.1"
|
||||
self.rev = 1785
|
||||
self.rev = 1786
|
||||
self.argv = argv
|
||||
self.action = None
|
||||
self.config_file = "zeronet.conf"
|
||||
|
|
Loading…
Reference in a new issue