From: Mark Date: Tue, 6 Dec 2016 09:53:22 +0000 (+0200) Subject: fix click to refresh domain value X-Git-Url: https://xp-dev.com/git/namibia/commitdiff_plain/e426c59b04de710457bcec1a0ad126049634e5c9 fix click to refresh domain value --- diff --git a/public/js/app/workspace.js b/public/js/app/workspace.js index c66dfd5..95f8cde 100644 --- a/public/js/app/workspace.js +++ b/public/js/app/workspace.js @@ -1160,10 +1160,8 @@ {}, function() { if ('bid4cars.nirph.com' != window.location.hostname && 'bid4cars.local' != window.location.hostname - && 'bid4cars.com.na' != window.location.hostname) + && 'www.bid4cars.com.na' != window.location.hostname) { - - alert(window.location.hostname); alert('Please click ok to refresh this page.'); location.reload(); } @@ -1182,10 +1180,10 @@ {}, function() { if ('bid4cars.nirph.com' != window.location.hostname && 'bid4cars.local' != window.location.hostname - && 'bid4cars.com.na' != window.location.hostname) + && 'www.bid4cars.com.na' != window.location.hostname) { alert('Please click ok to refresh this page.'); - alert(window.location.hostname); + //alert(window.location.hostname); location.reload(); }