This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed
Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -938,8 +938,6 @@ function $LocationProvider() {
938938 // update location manually
939939 if ( $location . absUrl ( ) !== $browser . url ( ) ) {
940940 $rootScope . $apply ( ) ;
941- // hack to work around FF6 bug 684208 when scenario runner clicks on links
942- $window . angular [ 'ff-684208-preventDefault' ] = true ;
943941 }
944942 }
945943 }
Original file line number Diff line number Diff line change 147147
148148 if ( ! evnt ) return ;
149149
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-
163150 if ( ! eventData . bubbles || supportsEventBubblingInDetachedTree ( ) || isAttachedToDocument ( element ) ) {
164- element . dispatchEvent ( evnt ) ;
151+ return element . dispatchEvent ( evnt ) ;
165152 } else {
166153 triggerForPath ( element , evnt ) ;
167154 }
168-
169- finalProcessDefault = ! ( angular [ 'ff-684208-preventDefault' ] || ! fakeProcessDefault ) ;
170-
171- delete angular [ 'ff-684208-preventDefault' ] ;
172-
173- return finalProcessDefault ;
174155 } ;
175156
176157 function supportsTouchEvents ( ) {
You can’t perform that action at this time.
0 commit comments