mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-10 09:09:46 +08:00
fix($browser): don’t use history api when only the hash changes
Fixes a failing test on IE9 caused as a side effect of404b95fe30being merged before0656484d3e. The test should have been independent on the browser running it and it is now. Closes #9423 Closes #9424
This commit is contained in:
@@ -652,6 +652,9 @@ describe('browser', function() {
|
||||
$provide.value('$browser', browser);
|
||||
browser.pollFns = [];
|
||||
|
||||
sniffer.history = true;
|
||||
$provide.value('$sniffer', sniffer);
|
||||
|
||||
$locationProvider.html5Mode(true);
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user