Commit 99b2161c authored by Richard Mansfield's avatar Richard Mansfield Committed by Gerrit Code Review
Browse files

Merge "Fix js error on homepage when hideinfo element not present"

parents 7e3b2864 500c57c5
......@@ -74,7 +74,9 @@ function nevershow() {
sendjsonrequest('homeinfo.json.php', data, 'POST', hideinfo);
}
addLoadEvent(function () {
$('hideinfo').onclick = nevershow;
if ($('hideinfo')) {
$('hideinfo').onclick = nevershow;
}
});
JAVASCRIPT;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment