From 51796e477bdfb837eec4bc114715f44a4c3b3945 Mon Sep 17 00:00:00 2001 From: miripiruni Date: Fri, 3 May 2013 20:30:24 +0400 Subject: [PATCH] Added window in isHistoryApiSupported definition --- shower.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shower.js b/shower.js index 899002c..a13750a 100755 --- a/shower.js +++ b/shower.js @@ -10,7 +10,7 @@ window.shower = window.shower || (function(window, document, undefined) { slides = [], progress = [], timer, - isHistoryApiSupported = !!(window.history && history.pushState); + isHistoryApiSupported = !!(window.history && window.history.pushState); function Slide(opts) {