mirror of
https://github.com/jiojciojsioe3/a3cjroijsiojiorj.git
synced 2024-12-23 09:46:15 +08:00
remove hardcoded email address
This commit is contained in:
parent
66612d222b
commit
41a64965a7
@ -31,7 +31,16 @@
|
||||
|
||||
var versionUrl = gameConfig._version.url
|
||||
this.getLink(this.linkIssues).href = versionUrl + "issues"
|
||||
|
||||
|
||||
var contactEmail = gameConfig.email
|
||||
if (typeof contactEmail === 'string') {
|
||||
this.linkEmail.setAttribute("alt", contactEmail)
|
||||
this.getLink(this.linkEmail).href = "mailto:" + contactEmail
|
||||
this.getLink(this.linkEmail).text = contactEmail
|
||||
} else {
|
||||
this.linkEmail.style.display = "none"
|
||||
}
|
||||
|
||||
pageEvents.add(this.linkIssues, ["click", "touchend"], this.linkButton.bind(this))
|
||||
pageEvents.add(this.linkEmail, ["click", "touchend"], this.linkButton.bind(this))
|
||||
pageEvents.add(this.endButton, ["mousedown", "touchstart"], this.onEnd.bind(this))
|
||||
|
Loading…
Reference in New Issue
Block a user