Fix typo in popup detection
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
beef.browser.popup = {
|
||||
|
||||
blocker_enbabled: function ()
|
||||
blocker_enabled: function ()
|
||||
{
|
||||
screenParams = beef.browser.getScreenSize();
|
||||
var popUp = window.open('/', 'windowName0', 'width=1, height=1, left='+screenParams.width+', top='+screenParams.height+', scrollbars, resizable');
|
||||
|
||||
@@ -15,6 +15,6 @@
|
||||
//
|
||||
beef.execute(function() {
|
||||
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, "popup_blocker_enabled="+beef.browser.popup.blocker_enbabled());
|
||||
beef.net.send("<%= @command_url %>", <%= @command_id %>, "popup_blocker_enabled="+beef.browser.popup.blocker_enabled());
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user