Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
kaheetonaa committed Oct 16, 2024
1 parent 0e883a9 commit 8efb6b0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion config/id.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ const defaultOsmApiConnections = {
},
dev: {
url: 'https://api06.dev.openstreetmap.org',
apiUrl: 'https://api06.openstreetmap.org',
client_id: 'qk6Xvnl2vNfBhuzVbLcUz4P67s5qJRlDppb2uaHd370'
}
};
Expand Down
4 changes: 1 addition & 3 deletions dist/iD.js
Original file line number Diff line number Diff line change
Expand Up @@ -21350,7 +21350,6 @@
},
dev: {
url: "https://api06.dev.openstreetmap.org",
apiUrl: "https://api06.openstreetmap.org",
client_id: "qk6Xvnl2vNfBhuzVbLcUz4P67s5qJRlDppb2uaHd370"
}
};
Expand Down Expand Up @@ -67808,7 +67807,6 @@
// modules/ui/splash.js
function uiSplash(context) {
return (selection2) => {
if (context.history().hasRestorableChanges()) return;
let updateMessage = "";
const sawPrivacyVersion = corePreferences("sawPrivacyVersion");
let showSplash = !corePreferences("sawSplash");
Expand Down Expand Up @@ -74606,7 +74604,7 @@
context.changeset = null;
let _defaultChangesetComment = context.initialHashParams.comment;
let _defaultChangesetSource = context.initialHashParams.source;
let _defaultChangesetHashtags = "EUthMappers";
let _defaultChangesetHashtags = "EUthMappers " + document.getElementById("team").value;
context.defaultChangesetComment = function(val) {
if (!arguments.length) return _defaultChangesetComment;
_defaultChangesetComment = val;
Expand Down
4 changes: 2 additions & 2 deletions dist/iD.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion modules/core/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function coreContext() {

let _defaultChangesetComment = context.initialHashParams.comment; //context.initialHashParams.comment
let _defaultChangesetSource = context.initialHashParams.source;
let _defaultChangesetHashtags = 'EUthMappers'; //context.initialHashParams.comment
let _defaultChangesetHashtags = 'EUthMappers'+' '+document.getElementById("team").value; //context.initialHashParams.comment
context.defaultChangesetComment = function(val) {
if (!arguments.length) return _defaultChangesetComment;
_defaultChangesetComment = val;
Expand Down
2 changes: 1 addition & 1 deletion modules/ui/splash.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export function uiSplash(context) {
// Exception - if there are restorable changes, skip this splash screen.
// This is because we currently only support one `uiModal` at a time
// and we need to show them `uiRestore`` instead of this one.
if (context.history().hasRestorableChanges()) return;
//if (context.history().hasRestorableChanges()) return;

// If user has not seen this version of the privacy policy, show the splash again.
let updateMessage = '';
Expand Down

0 comments on commit 8efb6b0

Please sign in to comment.