[openstreetmap/openstreetmap-website] Introduce "reload" js controller method (PR #3774)
Anton Khorev
notifications at github.com
Mon Oct 31 20:11:28 UTC 2022
@AntonKhorev commented on this pull request.
> @@ -179,8 +187,20 @@ OSM.Router = function (map, rts) {
};
router.load = function () {
- var loadState = currentRoute.run("load", currentPath);
+ var loadState = loadOrReload();
Changed it to extra variable instead of extra function.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3774#discussion_r1009827915
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3774/review/1162494087 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221031/11f26909/attachment.htm>
More information about the rails-dev
mailing list