OSM.Changeset = function (map) {
var page = {},
- content = $('#sidebar_content'),
+ content = $("#sidebar_content"),
currentChangesetId;
page.pushstate = page.popstate = function(path, id) {
};
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 () {
}
});
- content.find("textarea").val('').trigger("input");
+ content.find("textarea").val("").trigger("input");
}
page.unload = function() {