Delete from the right array when unregistered itemTrees

This commit is contained in:
Dan Stillman 2006-06-02 15:41:11 +00:00
parent f37ab47b39
commit 60ada26e8d

View file

@ -22,7 +22,7 @@ Scholar.Notifier = new function(){
}
function unregisterItemTree(hash){
_unregister('columnTree', hash);
_unregister('itemTree', hash);
}
/**
@ -74,6 +74,7 @@ Scholar.Notifier = new function(){
}
function _unregister(type, hash){
Scholar.debug('Unregistering ' + type + ' in notifier with hash ' + hash, 4);
delete _observers[type][hash];
}
}