home » zplus/freepost.git
ID: 5c61a53e7d111d6165e871eec13bbc36ffa7d0f7
7 lines — 250B — View raw


1
2
3
4
5
6
7
8
/* This is a small script to hide the "up" arrow when users upvote
 * posts and comments. The only reason for this is to give some feedback
 * to the user after clicks.
 */

function hide (dom_element) {
    dom_element.style.visibility = 'hidden';
}