Skip to content

Commit

Permalink
Issue imakewebthings#187 Fixed local deck with Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Turmio committed Apr 19, 2016
1 parent 2b0c6de commit fe439df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/deck.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ that use the API provided by core.

removeContainerHashClass($.deck('getSlide', from).attr('id'));
addContainerHashClass($.deck('getSlide', to).attr('id'));
if (Modernizr.history) {
if (Modernizr.history && window.location.protocol != 'file:') {
window.history.replaceState({}, "", hashPath);
}
};
Expand Down

0 comments on commit fe439df

Please sign in to comment.