From e426c59b04de710457bcec1a0ad126049634e5c9 Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 6 Dec 2016 11:53:22 +0200 Subject: [PATCH] fix click to refresh domain value --- public/js/app/workspace.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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(); } -- 2.20.1