Hi,
Is it safe to wrap the following line in a setTimeout to essentially debounce the resize function across different browsers?
$(window).resize(resizer);
Or perhaps inside the actual function-
$this.css(
attribute, ( ( $this.parent().height() - $this.height() ) / 2 )
);
Hi,
Is it safe to wrap the following line in a setTimeout to essentially debounce the resize function across different browsers?
$(window).resize(resizer);
Or perhaps inside the actual function-
$this.css(
attribute, ( ( $this.parent().height() - $this.height() ) / 2 )
);