##// END OF EJS Templates
"event" is not defined error in Firefox...
weichm -
Show More
@@ -202,8 +202,8 b' define(['
202 202 // Handles text submition
203 203 if (e.keyCode == 13) { // Return key
204 204 this.send({event: 'submit'});
205 event.stopPropagation();
206 event.preventDefault();
205 e.stopPropagation();
206 e.preventDefault();
207 207 return false;
208 208 }
209 209 },
@@ -214,8 +214,8 b' define(['
214 214 // TODO: Is the original bug actually a fault of the keyboard
215 215 // manager?
216 216 if (e.relatedTarget === null) {
217 event.stopPropagation();
218 event.preventDefault();
217 e.stopPropagation();
218 e.preventDefault();
219 219 return false;
220 220 }
221 221 },
@@ -224,8 +224,8 b' define(['
224 224 // Prevent a blur from firing if the blur was not user intended.
225 225 // This is a workaround for the return-key focus loss bug.
226 226 if (e.relatedTarget === null) {
227 event.stopPropagation();
228 event.preventDefault();
227 e.stopPropagation();
228 e.preventDefault();
229 229 return false;
230 230 }
231 231 },
General Comments 0
You need to be logged in to leave comments. Login now