Emoji picker, Search and Themes updates

This commit is contained in:
Daisuke
2020-04-13 11:30:51 -05:00
parent cf0ba1244d
commit 299c58692e
120 changed files with 224 additions and 9206 deletions

View File

@ -64,6 +64,16 @@ $query = http_build_query(array_filter(array(
$('body').on('click', '.compose', function(e) {
$('#postform').toggle();
});
$('body').on('click', '.searchform', function(e) {
$(this).prev().toggle();
});
$('body').on('click', '.searchmobiletoggle', function(e) {
$('#usermenu').off('hover');
$('#usermenu').off('active');
$('#searchmobile').toggle();
});
$("body").on("keydown", "form", function (e) {
if (e.ctrlKey && e.keyCode === 13) {
@ -71,8 +81,8 @@ $query = http_build_query(array_filter(array(
}
});
$('.topicon').click(function(){
$('.topicon').each(function(a){
$('.tlicon').click(function(){
$('.tlicon').each(function(a){
$( this ).removeClass('tiselected')
});
$( this ).addClass('tiselected');