Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-enable pausing.

  • Loading branch information...
commit ef5898f4a6c7e268a24aef9a28f7a0bfbc4ad1aa 1 parent 1877176
@moll moll authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 public/hackersays.js
View
5 public/hackersays.js
@@ -33,14 +33,13 @@ $(function() {
$("#toolbar .play").click(function(ev) {
ev.preventDefault();
- if ($(this).toggleClass("paused").hasClass("pause"))
+ if ($(this).toggleClass("paused").hasClass("paused"))
clearTimeout(readingTimer);
else
slider.goToNextSlide();
});
- if (quotesEl.hasClass("via-link"))
- $(".pause").click();
+ if (quotesEl.hasClass("via-link")) $("#toolbar .play").click();
function slideChange(index, total, slide) {
slide = $(slide);
Please sign in to comment.
Something went wrong with that request. Please try again.