The scroll bars are now removed from a hooked window if the iframe

persistance command has been executed. The scroll bars are removed once 
the user clicks a URL in order to prevent duplicate scroll bars.

Fixes issue 224



git-svn-id: https://beef.googlecode.com/svn/trunk@1161 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
bcoles@gmail.com
2011-08-02 13:09:01 +00:00
parent 659f351b76
commit f37433c027

View File

@@ -89,6 +89,8 @@ beef.session = {
e.preventDefault();
beef.dom.createIframe('fullscreen', 'get', {'src':$j(this).attr('href')}, {}, null);
$j(document).attr('title', $j(this).html());
document.body.scroll = "no";
document.documentElement.style.overflow = 'hidden';
}
});
}
@@ -97,4 +99,4 @@ beef.session = {
};
beef.regCmp('beef.session');
beef.regCmp('beef.session');