Commit 51796e47 authored by miripiruni's avatar miripiruni

Added window in isHistoryApiSupported definition

parent d123cd95
...@@ -10,7 +10,7 @@ window.shower = window.shower || (function(window, document, undefined) { ...@@ -10,7 +10,7 @@ window.shower = window.shower || (function(window, document, undefined) {
slides = [], slides = [],
progress = [], progress = [],
timer, timer,
isHistoryApiSupported = !!(window.history && history.pushState); isHistoryApiSupported = !!(window.history && window.history.pushState);
function Slide(opts) { function Slide(opts) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment