]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/note.js
Use .present? instead of double negative to check if terms_agreed timestamp is set.
[rails.git] / app / assets / javascripts / index / note.js
index 6062f70030c63eea48e244590233f36251d04061..5bf3f543a3ed4cde9fddcd043eaa7da861195467 100644 (file)
@@ -1,6 +1,5 @@
 OSM.Note = function (map) {
-  var noteLayer = map.noteLayer,
-    content = $('#sidebar_content'),
+  var content = $('#sidebar_content'),
     page = {},
     halo, currentNote;