Rev1786, Fix sidebar on FF

This commit is contained in:
shortcutme 2016-12-14 10:28:41 +01:00
parent 5cf96dbada
commit e37daabb53
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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();

View File

@ -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"