# HG changeset patch # User Dustin Demuth # Date 1429107644 -7200 # Node ID 5e91a740aff8da4bd8bbfc5e5e9ad6f5ef6f2847 # Parent 7f11b75e01882cc3d1656715784e4ded6fb34563 Added a Browser Switch as a function is not available in IE9 and lower diff -r 7f11b75e0188 -r 5e91a740aff8 app.js --- a/app.js Wed Apr 15 12:13:57 2015 +0200 +++ b/app.js Wed Apr 15 16:20:44 2015 +0200 @@ -103,8 +103,12 @@ }, onLoginSuccess: function(response) { - /* Strip out the openid query params to look nicers. */ - window.history.pushState(this.name, this.name, window.location.pathname); + + if (!Ext.isIE9m) { + /* Strip out the openid query params to look nicers. */ + // Not supported in old IE's + window.history.pushState(this.name, this.name, window.location.pathname); + } Ext.create('Lada.view.Viewport');