fix #85
This commit is contained in:
parent
7d90cd6871
commit
df29c7dda3
@ -491,7 +491,7 @@ Template.profile.events({
|
||||
var modifyingInput = Session.get("modifying");
|
||||
var p = event.target;
|
||||
if(p.className.includes("cre")) {
|
||||
var input = p.parentNode.parentNode.childNodes[3]
|
||||
var input = p.parentNode.parentNode.childNodes[3];
|
||||
} else {
|
||||
var input = p.parentNode.parentNode.childNodes[1].childNodes[5];
|
||||
}
|
||||
@ -561,7 +561,7 @@ function closeInput(modifyingInput) { // Closes current modifying input.
|
||||
try {
|
||||
document.getElementById("modifyingInput"+"restrict").style.display = "none";
|
||||
} catch(err) {}
|
||||
|
||||
|
||||
if (input.value === "") {
|
||||
span.childNodes[0].nodeValue = "Click here to edit...";
|
||||
} else {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user