diff options
Diffstat (limited to 'functions.js')
-rw-r--r-- | functions.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/functions.js b/functions.js index c696ae3e8..694ade06a 100644 --- a/functions.js +++ b/functions.js @@ -672,3 +672,14 @@ function getRelativeFeedId(list, id, direction) { } } } + +function showBlockElement(id) { + var elem = document.getElementById(id); + + if (elem) { + elem.style.display = "block"; + } else { + alert("[showBlockElement] can't find element with id " + id); + } +} + |