mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 10:56:16 -04:00
Handle clicking slider when playing
This commit is contained in:
parent
b4baba6155
commit
d89babfaeb
1 changed files with 4 additions and 2 deletions
|
@ -49,11 +49,13 @@ $.Class("RevisionSlider",
|
|||
},
|
||||
onChange: function (value) {
|
||||
console.log("in change handler:", value);
|
||||
this.goToRevision(value);
|
||||
if (!this.is_playing)
|
||||
this.goToRevision(value);
|
||||
},
|
||||
onSlide: function (value) {
|
||||
console.log("in slide handler:", value);
|
||||
this.goToRevision(value);
|
||||
if (!this.is_playing)
|
||||
this.goToRevision(value);
|
||||
},
|
||||
/**
|
||||
* Populate the elements dictionary with the various elements we might want
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue