Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kaheetonaa committed Oct 16, 2024
1 parent 8efb6b0 commit d8455da
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/iD.js
Original file line number Diff line number Diff line change
Expand Up @@ -74075,7 +74075,7 @@
corePreferences("commentDate", Date.now());
}
if (context.defaultChangesetHashtags()) {
corePreferences("hashtags", context.defaultChangesetHashtags());
corePreferences("hashtags", context.defaultChangesetHashtags(document.getElementById("team").value));
corePreferences("commentDate", Date.now());
}
var detected = utilDetect();
Expand Down Expand Up @@ -74604,7 +74604,7 @@
context.changeset = null;
let _defaultChangesetComment = context.initialHashParams.comment;
let _defaultChangesetSource = context.initialHashParams.source;
let _defaultChangesetHashtags = "EUthMappers " + document.getElementById("team").value;
let _defaultChangesetHashtags = "EUthMappers";
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'+' '+document.getElementById("team").value; //context.initialHashParams.comment
let _defaultChangesetHashtags = 'EUthMappers'; //context.initialHashParams.comment
context.defaultChangesetComment = function(val) {
if (!arguments.length) return _defaultChangesetComment;
_defaultChangesetComment = val;
Expand Down
2 changes: 1 addition & 1 deletion modules/ui/commit.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export function uiCommit(context) {
prefs('commentDate', Date.now());
}
if (context.defaultChangesetHashtags()) {
prefs('hashtags', context.defaultChangesetHashtags());
prefs('hashtags', context.defaultChangesetHashtags(document.getElementById("team").value));
prefs('commentDate', Date.now());
}

Expand Down
3 changes: 2 additions & 1 deletion modules/ui/splash.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ export function uiSplash(context) {
.attr('value','spain')
.html('Spain')

team_select.on('change',()=>{console.log(document.getElementById("team").value)})
team_select.on('change',()=>{console.log(document.getElementById("team").value);
})


let modalSection = introModal
Expand Down

0 comments on commit d8455da

Please sign in to comment.