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