mirror of
https://github.com/gchq/CyberChef
synced 2025-12-14 15:23:20 +00:00
Replaced jsHint with eslint. Fixes #4.
This commit is contained in:
@@ -64,7 +64,7 @@ var URL_ = {
|
||||
|
||||
if (a.protocol) {
|
||||
var output = "";
|
||||
if (a.hostname != window.location.hostname) {
|
||||
if (a.hostname !== window.location.hostname) {
|
||||
output = "Protocol:\t" + a.protocol + "\n";
|
||||
if (a.hostname) output += "Hostname:\t" + a.hostname + "\n";
|
||||
if (a.port) output += "Port:\t\t" + a.port + "\n";
|
||||
|
||||
Reference in New Issue
Block a user