some more work on mod hq

This commit is contained in:
Mario Vavti
2017-11-24 15:01:34 +01:00
parent 14f1292743
commit 87eaa6d8e5
7 changed files with 37 additions and 10 deletions

View File

@@ -1,3 +1,15 @@
$(document).on('click', '#jot-toggle', function(e) {
e.preventDefault();
e.stopPropagation();
$(this).toggleClass('active');
$(window).scrollTop(0);
$('#jot-popup').toggle();
$('#profile-jot-text').focus();
});
function hqLiveUpdate(notify_id) {
if(typeof profile_uid === 'undefined') profile_uid = false; /* Should probably be unified with channelId defined in head.tpl */