1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-29 11:17:52 +01:00

Fix IE resize

This commit is contained in:
Arnaud ROULEE 2014-12-16 09:52:26 +01:00 committed by kardagan
parent 93bf73ad0f
commit 12e8d33622

View File

@ -414,6 +414,8 @@ if (typeof(PhpDebugBar) == 'undefined') {
* @this {DebugBar}
*/
registerResizeHandler: function() {
if (typeof this.resize.bind == 'undefined') return;
var f = this.resize.bind(this);
this.respCSSSize = 0;
$(window).resize(f);