X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=jquery.openx.js;h=d687dfad87cfa2a89c808c34ccfae52df7d43257;hb=8bf0530c43be94c835d313b572da3569a4c878b8;hp=3f3669f0a35ec125d6fa41bf42a9d39b99c8d4cb;hpb=000ac4f4f9152d9ce789246097279cbd4d5c18b4;p=openx diff --git a/jquery.openx.js b/jquery.openx.js index 3f3669f..d687dfa 100644 --- a/jquery.openx.js +++ b/jquery.openx.js @@ -95,8 +95,6 @@ */ $.openx = function( options ) { - var name, src, errors = [], i; - if (domain) { if (console.error) { console.error('jQuery.openx was already initialized!'); @@ -111,12 +109,9 @@ _options = options; - if (!options.server) - errors.push('Required option "server" is missing!'); - if (errors.length > 0) { + if (!options.server) { if (console.error) { - for (i=0; i