X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=js%2Fajax-test.js;h=80599e905e3d23e4af7d21f2acd5ba28e9ce4c8f;hp=2e06210044c87c1c2e09876eaa9b13aa758286a5;hb=e9da1508b2a3ccbf63adc999981674740a47e074;hpb=63f159414369b5ea19a8ca75d8cd8033c45d8341 diff --git a/js/ajax-test.js b/js/ajax-test.js index 2e06210044..80599e905e 100644 --- a/js/ajax-test.js +++ b/js/ajax-test.js @@ -1,13 +1,8 @@ -/* +/** * JavaScript for testing the browser of AJAX-compatiblity * -------------------------------------------------------------------- - * $Revision:: $ - * $Date:: $ - * $Tag:: 0.2.1-FINAL $ - * $Author:: $ - * -------------------------------------------------------------------- * Copyright (c) 2003 - 2009 by Roland Haeder - * Copyright (c) 2009 - 2012 by Mailer Developer Team + * Copyright (c) 2009 - 2015 by Mailer Developer Team * For more information visit: http://mxchange.org * * This program is free software; you can redistribute it and/or modify @@ -37,13 +32,13 @@ var ajaxTest = null; // Countdown function function ajaxTestCounter () { - // Do we have element set? - if (element != null) { + // Is there element set? + if (element !== null) { // Yes, then set the new counter value element.innerHTML = counter; } // END - if - // Do we have reached zero? + // Is there reached zero? if (counter < 1) { // Clear the interval clearInterval(ajaxTest);