This commit is contained in:
Ian Gilman 2014-12-12 16:28:02 -08:00
parent d1627f9975
commit 40d8f84187

View File

@ -98,8 +98,11 @@
this.viewer = OpenSeadragon(config);
if (testInitialOpen) {
this.viewer.addHandler( "open", function() {
});
function openHandler() {
self.viewer.removeHandler('open', openHandler);
}
this.viewer.addHandler( "open", openHandler);
}
if (testMargins) {