lib/repoman/app/public/javascripts/application.js in repoman-0.5.1 vs lib/repoman/app/public/javascripts/application.js in repoman-0.5.2

- old
+ new

@@ -7,26 +7,11 @@ $('.slider').attr('max', playback.commits.length, 'min', 0) playback.init(); } }); - $('.forward').click(function(e) { - e.preventDefault(); - playback.drawForward(); - }); - - $('.reverse').click(function(e) { - e.preventDefault(); - playback.drawReverse(); - }); - $('.slider').change(function(e) { e.preventDefault(); - if(this.value > prev) { - playback.drawForward(this.value - 1); - prev = this.value; - } else - playback.drawReverse(this.value - 1); - prev = this.value; + playback.drawCommit(this.value); }); });