This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 2 files changed +1
-22
lines changed
2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -938,8 +938,6 @@ function $LocationProvider() {
938
938
// update location manually
939
939
if ( $location . absUrl ( ) !== $browser . url ( ) ) {
940
940
$rootScope . $apply ( ) ;
941
- // hack to work around FF6 bug 684208 when scenario runner clicks on links
942
- $window . angular [ 'ff-684208-preventDefault' ] = true ;
943
941
}
944
942
}
945
943
}
Original file line number Diff line number Diff line change 147
147
148
148
if ( ! evnt ) return ;
149
149
150
- var originalPreventDefault = evnt . preventDefault ,
151
- appWindow = element . ownerDocument . defaultView ,
152
- fakeProcessDefault = true ,
153
- finalProcessDefault ,
154
- angular = appWindow . angular || { } ;
155
-
156
- // igor: temporary fix for https://bugzilla.mozilla.org/show_bug.cgi?id=684208
157
- angular [ 'ff-684208-preventDefault' ] = false ;
158
- evnt . preventDefault = function ( ) {
159
- fakeProcessDefault = false ;
160
- return originalPreventDefault . apply ( evnt , arguments ) ;
161
- } ;
162
-
163
150
if ( ! eventData . bubbles || supportsEventBubblingInDetachedTree ( ) || isAttachedToDocument ( element ) ) {
164
- element . dispatchEvent ( evnt ) ;
151
+ return element . dispatchEvent ( evnt ) ;
165
152
} else {
166
153
triggerForPath ( element , evnt ) ;
167
154
}
168
-
169
- finalProcessDefault = ! ( angular [ 'ff-684208-preventDefault' ] || ! fakeProcessDefault ) ;
170
-
171
- delete angular [ 'ff-684208-preventDefault' ] ;
172
-
173
- return finalProcessDefault ;
174
155
} ;
175
156
176
157
function supportsTouchEvents ( ) {
You can’t perform that action at this time.
0 commit comments