Use double quotes consistently in javascript code

This commit is contained in:
Tom Hughes 2019-04-06 15:59:34 +01:00
parent 87127d41e9
commit eb7678145a
29 changed files with 650 additions and 649 deletions

View file

@ -1,6 +1,6 @@
OSM.Changeset = function (map) {
var page = {},
content = $('#sidebar_content'),
content = $("#sidebar_content"),
currentChangesetId;
page.pushstate = page.popstate = function(path, id) {
@ -17,7 +17,7 @@ OSM.Changeset = function (map) {
};
function addChangeset(id, center) {
map.addObject({type: 'changeset', id: parseInt(id, 10)}, function(bounds) {
map.addObject({type: "changeset", id: parseInt(id, 10)}, function(bounds) {
if (!window.location.hash && bounds.isValid() &&
(center || !map.getBounds().contains(bounds))) {
OSM.router.withoutMoveListener(function () {
@ -72,7 +72,7 @@ OSM.Changeset = function (map) {
}
});
content.find("textarea").val('').trigger("input");
content.find("textarea").val("").trigger("input");
}
page.unload = function() {