Tom Hughes
fa0a933c24
Replace augment.js with conditional polyfills for ES5 and ES6
2019-01-30 12:11:57 +00:00
Tom Hughes
ed82d0a756
Only fetch client side translations for the current locale
2018-08-16 12:22:36 +01:00
Tom Hughes
7346c5a024
Update site to use jQuery 3
2017-11-03 20:40:48 +00:00
Tom Hughes
47d33ed98e
Defer measuring of header elements to a timeout
...
Chrome 60 and later seem to fire the "ready" callback before the DOM is
fully ready causing us to measure the wrong sizes for the header elements
so we use a 0ms timeout to defer the measurement slightly as a workaround.
Fixes #1639
2017-09-14 20:30:38 +01:00
Tom Hughes
d7b4f88d5e
Remove inline javascript from page header
2017-03-01 21:19:32 +00:00
Tom Hughes
4dceacdeba
Make switch to compact and small modes dynamic
...
The point where we need to switch between normal mode, compact mode
and small mode varies due to different string lengths in different
languages, but that can't be expressed by a media query, so use some
javascript to update as the window size changes.
Fixes #1014
2015-07-22 22:48:22 +01:00
Tom Hughes
e0706f06b1
Fix remaining JSHint issues
2015-02-24 19:45:10 +00:00
Tom Hughes
bd2e999756
Move some javascript functions out of global scope
2015-02-24 00:19:08 +00:00
Tom Hughes
1596713871
Fix some JSHint complaints
2015-02-23 21:45:57 +00:00
Tom Hughes
5e5c6b3a29
Add support for remote edit over https on port 8112
2014-04-01 19:17:15 +01:00
Tom Hughes
1f22b625a0
Move cookieContent to OSM.locationCookie
2014-02-28 00:10:55 +00:00
Tom Hughes
66039dedb0
Move zoomPrecision function to the OSM namespace
2014-02-27 18:15:54 +00:00
John Firebaugh
41b1bd4a70
Fix updateLinks({lat: 0, lon: 0}, ...)
...
Fixes openstreetmap/iD#2130
2014-02-18 17:20:52 -08:00
Tom Hughes
ee3e5d56d2
Remove https load test
2014-02-11 08:23:55 +00:00
Tom Hughes
ef448ea494
Boost https tile traffic to 20%
2014-02-05 19:43:44 +00:00
Tom Hughes
6b843cc158
Send 5% of users tiles over https as a test
2014-02-05 18:38:36 +00:00
Tom Hughes
66aac9ca87
Pass details of any selected object to remote editors
2013-12-06 00:19:35 +00:00
John Firebaugh
21407ede7e
Ensure object parameter is removed from edit link when closing sidebar
...
Refs #620
2013-12-05 19:38:34 +00:00
Tom Hughes
d5a765588f
Fix URL updating in Potlatch 1
...
Potlatch 1 has hard coded calls to updatelinks, so rename the
updatelinks function to updateLinks and add an updatelinks function
using the old style argument list for Potlatch 1 to call.
2013-12-01 22:37:04 +00:00
Tom Hughes
be088602fb
Revert 39468944
and fix osmlab#91 without loosing the editor choice
2013-11-29 15:33:09 +00:00
John Firebaugh
3946894492
Fix accumulation of parameters in edit link
2013-11-25 13:49:47 -08:00
Tom Hughes
65d5f3a1db
Remove code to fixup authenticity tokens on page load
...
We don't cache anything with forms in now, so the code is no longer
needed and the comment was now misleading as extra code has been added
to the ready callback.
2013-11-24 12:13:02 +00:00
John Firebaugh
d920d94f69
Revert "Eliminate HTML5 elements"
...
This led to a huge mess of conflicting CSS rule priorities.
This reverts commit 9fc8bc9368
.
2013-11-15 10:37:10 -08:00
John Firebaugh
e9c6e57bcc
Eliminate HTML5 elements
...
IE8, *sigh*
2013-11-14 15:39:44 -08:00
John Firebaugh
a805e0b545
Use our own hash implementation
...
We need more flexibility than L.Hash provides.
2013-11-11 14:42:59 -08:00
John Firebaugh
14136b27c2
Merge map.js.erb and leaflet.extend.js.erb
2013-11-11 14:42:46 -08:00
John Firebaugh
a2dfc00f27
Include layers in all geolinks except edit
2013-11-08 13:51:44 -08:00
John Firebaugh
cdfe2ac21e
Redo mobile styles
2013-11-07 17:25:03 -08:00
Eden Halperin
3f26761a26
Fix mobile menu and reduced sidebar height
2013-11-07 18:15:19 -05:00
John Firebaugh
12e820c27e
Remove ad concept
2013-11-07 10:16:04 -08:00
Eden Halperin
774aa0c875
RTL fix for leaflet controls, Ad concept
2013-11-06 18:18:35 -05:00
Eden Halperin
537d72b0f6
responsive secondary pages and fixed map
2013-11-06 12:57:21 -05:00
John Firebaugh
aa20398cea
Consolidate search-related JavaScript
2013-10-13 14:46:09 -07:00
John Firebaugh
a56d1036d5
pushState based navigation between map-based layouts
2013-10-13 14:46:08 -07:00
John Firebaugh
85e6bbde9b
Eliminate edit.js
2013-10-13 14:46:07 -07:00
John Firebaugh
d414ffc61a
Simplify geolink-related code
...
#zoom/lat/lon hash format is now used consistently.
2013-10-13 14:46:07 -07:00
John Firebaugh
3ba036045b
Don't disable History button
2013-10-13 14:46:07 -07:00
John Firebaugh
cea0cccc6d
Convert edit menus to bootstrap dropdown
2013-08-21 17:20:04 -07:00
John Firebaugh
1727cd7c2b
Compact user menu
2013-08-21 17:20:04 -07:00
John Firebaugh
54ded37bf2
Tooltips for map controls
2013-08-07 15:41:32 -07:00
Tom Hughes
feeb135760
Merge remote-tracking branch 'osmlab/map-ui'
2013-08-06 09:05:59 +01:00
John Firebaugh
d4135390ac
Create linkloader iframe in script
2013-08-06 08:32:06 +01:00
John Firebaugh
f17304e8ed
Fix embed
2013-08-05 08:31:46 -07:00
John Firebaugh
6618cb9019
Include layers in hash
2013-07-30 15:41:41 -07:00
John Firebaugh
1a5f14d338
Update hash on P2 and iD edit pages and throttle
2013-07-30 15:41:41 -07:00
John Firebaugh
3c22a53c93
Generate hash-based permalinks
2013-07-30 15:41:41 -07:00
John Firebaugh
b28511faca
zoomPrecision doesn't need to be higher-order
2013-07-30 15:41:41 -07:00
John Firebaugh
b5800b4c2f
Refactor URL generating methods
2013-07-30 15:41:41 -07:00
John Firebaugh
57e711d343
Use leaflet-hash
2013-07-30 15:41:40 -07:00
John Firebaugh
5cf26d0559
Fix minzoom alert
2013-07-18 10:45:18 -07:00