blackhydrogen / noop-sewi

Sana Encounter Web Interface (SEWI)
0 stars 1 forks source link

tab.js generates an error when there is no active tab, and the window is resized. #140

Closed blackhydrogen closed 9 years ago

blackhydrogen commented 9 years ago

Uncaught TypeError: Cannot read property 'resize' of undefined tab.js:1355 sewi.TabContainer.resize tab.js:1355 jQuery.event.dispatch jquery-2.1.0.js:4371 elemData.handle jquery-2.1.0.js:4057

tab.js, line 1355: sewi.TabContainer.prototype.resize = function(){ this.currentActiveTab.resize(); }

Probably fixable with a simple wrapping if-statement.

lebeier commented 9 years ago

fixed