[jQuery] Bind resize of window doesn't run when in fullscreen(opening a sidebar for example)
here's my code:
$(document).ready(function() {
$(window).bind("resize", function(){
iframesize();
});
function iframesize(){
wheight = $(window).height();
// wwidth = $(window).width();
$('iframe').height(wheight - 30);
// $('iframe').width(wwidth);
};
iframesize();
});
When not in fullscreen mode and opening a sidebar or firebug etc in
firefox the bind resize callback runs but when in fullscreen mode it
doesn't. How do I make it bind to resize also in fullscreen mode?