mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-27 08:02:51 +02:00
updated docs and dist
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
this.player_min_left = 0 + this.options.offset_left;
|
||||
|
||||
this.init();
|
||||
};
|
||||
}
|
||||
|
||||
var fn = Draggable.prototype;
|
||||
|
||||
@@ -177,7 +177,7 @@
|
||||
fn.drag_handler = function(e) {
|
||||
if (e.which !== 1) {
|
||||
return false;
|
||||
};
|
||||
}
|
||||
|
||||
var self = this;
|
||||
var first = true;
|
||||
@@ -203,7 +203,7 @@
|
||||
|
||||
if (self.is_dragging == true) {
|
||||
throttle(self.on_dragmove.call(self, mme), 130);
|
||||
};
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
this.options.start.call(this.$player, e, {
|
||||
helper: this.helper ? this.$helper : this.$player
|
||||
});
|
||||
};
|
||||
}
|
||||
return false;
|
||||
};
|
||||
|
||||
@@ -251,12 +251,12 @@
|
||||
}else if(left < this.player_min_left) {
|
||||
left = this.player_min_left;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
left: left,
|
||||
top: top
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -293,7 +293,7 @@
|
||||
'left': offset.left,
|
||||
'top': offset.top
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
if (this.options.stop) {
|
||||
this.options.stop.call(this.$player, e, ui);
|
||||
|
||||
Reference in New Issue
Block a user