Fix some JSHint complaints

This commit is contained in:
Tom Hughes 2015-02-23 20:47:38 +00:00
parent 6671a934bf
commit 1596713871
22 changed files with 96 additions and 93 deletions

View file

@ -60,7 +60,7 @@ OSM.Note = function (map) {
content.find("textarea").on("input", function (e) {
var form = e.target.form;
if ($(e.target).val() == "") {
if ($(e.target).val() === "") {
$(form.close).val(I18n.t("javascripts.notes.show.resolve"));
$(form.comment).prop("disabled", true);
} else {
@ -94,7 +94,7 @@ OSM.Note = function (map) {
map.addLayer(currentNote);
if (callback) callback();
};
}
function moveToNote() {
var data = $('.details').data(),