Fix semantics of function parameter

This commit is contained in:
David Rowe 2016-10-06 15:49:16 +13:00
parent 742e603fd6
commit 2807f76e68

View file

@ -379,8 +379,8 @@ Window {
}); });
} }
function updateLocationText(visible) { function updateLocationText(enteringAddress) {
if (visible) { if (enteringAddress) {
notice.text = "Go to a place, @user, path or network address"; notice.text = "Go to a place, @user, path or network address";
notice.color = "gray"; notice.color = "gray";
} else { } else {