From 427f5457d9699c319a1957940a50dea887b00f9d Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 2 Mar 2017 10:20:51 +0000 Subject: [PATCH] Fix some jshint warnings --- app/assets/javascripts/id.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/id.js b/app/assets/javascripts/id.js index e1fea1768..687f1e044 100644 --- a/app/assets/javascripts/id.js +++ b/app/assets/javascripts/id.js @@ -1,9 +1,9 @@ //= require iD -document.addEventListener("DOMContentLoaded", function(e) { +document.addEventListener("DOMContentLoaded", function() { var container = document.getElementById("id-container"); - if (typeof iD == 'undefined' || !iD.Detect().support) { + if (typeof iD === 'undefined' || !iD.Detect().support) { container.innerHTML = 'This editor is supported ' + 'in Firefox, Chrome, Safari, Opera, Edge, and Internet Explorer 11. ' + 'Please upgrade your browser or use Potlatch 2 to edit the map.'; -- 2.39.5