Skip to content

Instantly share code, notes, and snippets.

@rgrove
Created July 27, 2010 21:29
Show Gist options
  • Save rgrove/492900 to your computer and use it in GitHub Desktop.
Save rgrove/492900 to your computer and use it in GitHub Desktop.
Duckpunches this bug in YUI 3.2.0PR1: http://yuilibrary.com/projects/yui3/ticket/2529123
Y.HistoryHTML5.prototype._init = function (config) {
Y.on('popstate', this._onPopState, Y.config.win, this);
config = this._config = config || {};
if (config && config['enableSessionFallback'] && YUI.Env.windowLoaded) {
this._loadSessionState();
}
Y.HistoryHTML5.superclass._init.apply(this, arguments);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment