Rev3673, Fix sidebar input fields on mobile

This commit is contained in:
shortcutme 2018-10-24 13:59:10 +02:00
parent f540645d80
commit 538de08c07
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
3 changed files with 3 additions and 3 deletions

View File

@ -102,7 +102,7 @@ class Sidebar extends Class
@fixbutton.parents().on "mousemove touchmove" ,@waitMove
# Stop dragging listener
@fixbutton.parents().on "mouseup touchend touchend touchcancel", (e) =>
@fixbutton.parents().one "mouseup touchend touchcancel", (e) =>
e.preventDefault()
@stopDrag()

View File

@ -478,7 +478,7 @@ window.initScrollable = function () {
})(this));
this.fixbutton.parents().on("mousemove touchmove", this.animDrag);
this.fixbutton.parents().on("mousemove touchmove", this.waitMove);
return this.fixbutton.parents().on("mouseup touchend touchend touchcancel", (function(_this) {
return this.fixbutton.parents().one("mouseup touchend touchcancel", (function(_this) {
return function(e) {
e.preventDefault();
return _this.stopDrag();

View File

@ -10,7 +10,7 @@ class Config(object):
def __init__(self, argv):
self.version = "0.6.4"
self.rev = 3672
self.rev = 3673
self.argv = argv
self.action = None
self.pending_changes = {}