Removed redundant event handler in navigator

This commit is contained in:
Ian Gilman 2015-12-14 11:03:25 -08:00
parent d1afae6ca0
commit 4935fcd225

View File

@ -223,12 +223,6 @@ $.Navigator = function( options ){
}
});
this.addHandler("reset-size", function() {
if (_this.viewport) {
_this.viewport.goHome(true);
}
});
viewer.world.addHandler("item-index-change", function(event) {
var item = _this.world.getItemAt(event.previousIndex);
_this.world.setItemIndex(item, event.newIndex);