Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding a further check

adding a further check
  • Loading branch information...
commit b0de80369f0c163b944cf053261f90e91d7507a3 1 parent a71e9f9
Cristian Carlesso authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Source/Element/Element.js
View
2  Source/Element/Element.js
@@ -913,7 +913,7 @@ Element.implement({
},
removeListener: function(type, fn){
- if (fn.$ref){
+ if (type == 'unload' && fn.$ref){
var old = fn;
fn = fn.$ref;
delete old.$ref;
Please sign in to comment.
Something went wrong with that request. Please try again.