Commit graph

14 commits

Author SHA1 Message Date
Tom Hughes
c47cb299a8 Replace uses of var with let or const as appropriate 2025-02-16 11:14:13 +00:00
Marwin Hochfelsner
a3c45f6ed6 Reduce condition complexity 2025-02-09 06:51:56 +01:00
Anton Khorev
feb7af2020 Let page.load proceed when zoomed out, disabling submit
Note that addNoteButton.hasClass("active") check in page.load is useless because page.unload removes this class.
2025-01-01 02:32:06 +03:00
Andy Allan
68776e378c Fix remaining tooltips, and add tests
These were broken during the upgrade to bootstrap 5

Fixes #3632
2022-08-03 15:20:50 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
1596713871 Fix some JSHint complaints 2015-02-23 21:45:57 +00:00
Tom Hughes
281dc29c5c Disable the "add note" button in database offline mode 2014-12-14 00:27:31 +00:00
John Firebaugh
54ded37bf2 Tooltips for map controls 2013-08-07 15:41:32 -07:00
John Firebaugh
7094370208 Restore prohibition on low-zoom notes 2013-07-18 11:45:44 -07:00
John Firebaugh
9d5b81094c Fix add note 2013-07-18 10:45:16 -07:00
John Firebaugh
eebe1f1d3e Consistent JavaScript style 2013-07-18 10:45:14 -07:00
Saman Bemel-Benrud
b9a19ab23a starting to cleanup+style map controls. 2013-07-18 10:36:08 -07:00
Tom MacWright
ff52509d5a Actually toggle note layer on click. 2013-07-18 10:31:20 -07:00
Tom MacWright
22d6633114 Start refactoring notes layer 2013-07-18 10:31:20 -07:00