Skip to content

Commit 4971283

Browse files
committed
Merge pull request php-debugbar#186 from arnaudroulee/master
Fix IE resize
2 parents 93bf73a + 685d4a5 commit 4971283

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)