Added window in isHistoryApiSupported definition

This commit is contained in:
miripiruni 2013-05-03 20:30:24 +04:00
parent d123cd9551
commit 51796e477b
1 changed files with 1 additions and 1 deletions

View File

@ -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) {