Typo, gotta define c sooner

This commit is contained in:
Alexandre Aubin 2019-10-19 03:44:33 +02:00
parent e16e822a89
commit ca6c635885

View file

@ -582,6 +582,7 @@
}, },
redirect_to: function(destination, options) { redirect_to: function(destination, options) {
c = this;
options = options !== undefined ? options : {}; options = options !== undefined ? options : {};
@ -593,7 +594,6 @@
store.clear('slide'); store.clear('slide');
} }
c = this;
// This is a copy-pasta of some of the redirect/refresh code of // This is a copy-pasta of some of the redirect/refresh code of
// sammy.js because for some reason calling the original // sammy.js because for some reason calling the original
// redirect/refresh function in some context does not work >.> // redirect/refresh function in some context does not work >.>