Skip to content

Commit 685d4a5

Browse files
committed
Fix IE resize
1 parent 4b8ba47 commit 685d4a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DebugBar/Resources/debugbar.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
414414
* @this {DebugBar}
415415
*/
416416
registerResizeHandler: function() {
417+
if (typeof this.resize.bind == 'undefined') return;
418+
417419
var f = this.resize.bind(this);
418420
this.respCSSSize = 0;
419421
$(window).resize(f);

0 commit comments

Comments
 (0)