diff options
| author | Igor Minar | 2011-09-21 14:10:34 +0200 |
|---|---|---|
| committer | Igor Minar | 2011-09-26 23:51:54 +0200 |
| commit | ea3228e311a22d5f917ca7135ee4d68738a6dfb4 (patch) | |
| tree | 1a4e38059d465f303ef548167a48546f1c65580e /src/service/location.js | |
| parent | 2eb49147d69fe930714578dd7aa13f8d5e3a6d49 (diff) | |
| download | angular.js-ea3228e311a22d5f917ca7135ee4d68738a6dfb4.tar.bz2 | |
fix(scenario): workaround for FF6 dispatchEvent issue #684208
Diffstat (limited to 'src/service/location.js')
| -rw-r--r-- | src/service/location.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/service/location.js b/src/service/location.js index 644b4aaa..de359220 100644 --- a/src/service/location.js +++ b/src/service/location.js @@ -461,6 +461,8 @@ angularServiceInject('$location', function($browser, $sniffer, $config, $documen currentUrl.url(href); scope.$apply(); event.preventDefault(); + // hack to work around FF6 bug 684208 when scenario runner clicks on links + window.angular['ff-684208-preventDefault'] = true; }); } else { currentUrl = new LocationHashbangUrl(initUrl, hashPrefix); |
