geraki / io-2012-slides

Automatically exported from code.google.com/p/io-2012-slides
0 stars 0 forks source link

prev-slide-area and next-slide-area click don't update hash #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open slide template
2. Click on next slide area, on right of current slide

What is the expected output? What do you see instead?
Next slide is show, but navigation hash wasn't update

What version of the product are you using? On what operating system?
Chrome version 26.0.1410.43 on Windows 8

Please provide any additional information below.
When the methods prevSlide and nextSlide are binded to click event
the first argument is an eventArgument object
so in updateHash_ dontPush argument is an object and test !dontPush is true
To fix-it, I simple change in SlideDeck.prototype.updateSlides_
  var dontPush = opt_dontPush === true || false;

Original issue reported on code.google.com by ago...@gmail.com on 29 Mar 2013 at 5:01