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 197c553 commit 01a857d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 13 deletions.
5 changes: 2 additions & 3 deletions dist/iD.js
Original file line number Diff line number Diff line change
Expand Up @@ -67805,7 +67805,6 @@
}

// modules/ui/splash.js
var team_selected2 = "";
function uiSplash(context) {
return (selection2) => {
let updateMessage = "";
Expand All @@ -67830,7 +67829,7 @@
team_select.append("option").attr("value", "slovakia").html("Slovakia");
team_select.append("option").attr("value", "spain").html("Spain");
team_select.on("change", () => {
team_selected2 = document.getElementById("team").value;
__team_selected = document.getElementById("team").value;
});
let modalSection = introModal.append("div").attr("class", "modal-section");
modalSection.append("p").html(_t.html("splash.text", {
Expand Down Expand Up @@ -74076,7 +74075,7 @@
corePreferences("commentDate", Date.now());
}
if (context.defaultChangesetHashtags()) {
corePreferences("hashtags", context.defaultChangesetHashtags(team_selected));
corePreferences("hashtags", context.defaultChangesetHashtags(__team_selected));
corePreferences("commentDate", Date.now());
}
var detected = utilDetect();
Expand Down
6 changes: 3 additions & 3 deletions dist/iD.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/iD.min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/iD.min.js.map

Large diffs are not rendered by default.

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(team_selected));
prefs('hashtags', context.defaultChangesetHashtags(__team_selected));
prefs('commentDate', Date.now());
}

Expand Down
4 changes: 2 additions & 2 deletions modules/ui/splash.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { uiIntro } from './intro';
import { uiModal } from './modal';
import { uiSectionPrivacy } from './sections/privacy';

var team_selected=''


export function uiSplash(context) {
return (selection) => {
Expand Down Expand Up @@ -75,7 +75,7 @@ export function uiSplash(context) {
.attr('value','spain')
.html('Spain')

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


Expand Down

0 comments on commit 01a857d

Please sign in to comment.