Mailer project rwritten:
[mailer.git] / templates / de / html / js / js_surfbar_frame_top.tpl
index 772f42fae859045b526cc4d0401268bd6a888a9e..848a71669a1bf5ced3ad748653e11ceb22c823c4 100644 (file)
@@ -35,7 +35,7 @@ var max         = document.getElementById('surfbar_max');
 var countDown   = null;
 
 function startStopCounter () {
-       if (countDown == null) {
+       if (countDown === null) {
                // Start counter
                document.getElementById('start').innerHTML = '{--MEMBER_SURFBAR_ACTION_PAUSE_SUBMIT--}';
                countDown = window.setInterval('startCounter()', 1000);
@@ -53,7 +53,7 @@ function init () {
 }
 
 function confirm () {
-       if (parent.surfbar_url != null) {
+       if (parent.surfbar_url !== null) {
                // Is in right frameset
                parent.surfbar_url.location.href = '{%url=surfbar.php?id=$content[url_id]&check=$content[check]&salt=$content[salt]%}';
        } else {
@@ -63,7 +63,7 @@ function confirm () {
 }
 
 function reloadSurfbar () {
-       if (parent.surfbar_stats != null) {
+       if (parent.surfbar_stats !== null) {
                // Is in right frameset
                parent.surfbar_stats.location.reload();
        } else {
@@ -74,7 +74,7 @@ function reloadSurfbar () {
 }
 
 function initCounter () {
-       if (parent.surfbar_url != null) {
+       if (parent.surfbar_url !== null) {
                // Is in right frameset
                parent.surfbar_url.location.href = '{%pipe,getSurfbarUrl=$content[url_id]%}';
        } else {