From 987ce7b9caebaa0349b4854102a3a7c856e87608 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Thu, 2 Jul 2020 11:08:01 -0600 Subject: [PATCH] fixed typo in js comment --- assets/js/influxdb-url.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/influxdb-url.js b/assets/js/influxdb-url.js index c58f9443a..0a1206183 100644 --- a/assets/js/influxdb-url.js +++ b/assets/js/influxdb-url.js @@ -161,7 +161,7 @@ setRadioButton(getUrl()) /////////////////////////// Dynamically update URLs /////////////////////////// -// Extract the protocol and hostname of refferrer +// Extract the protocol and hostname of refferer referrerHost = document.referrer.match(/^(?:[^\/]*\/){2}[^\/]+/g)[0] // Check if the referrerHost is one of the cloud URLs