Don't add note when disabled

This commit is contained in:
John Firebaugh 2013-11-13 12:40:36 -08:00
parent 8f4edc234a
commit a661ee1693

View file

@ -27,6 +27,8 @@ OSM.NewNote = function(map) {
e.preventDefault();
e.stopPropagation();
if ($(this).hasClass('disabled')) return;
OSM.route('/new_note');
});