mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-28 18:29:50 +01:00
when u drag a chat window it comes to front
This commit is contained in:
@@ -325,7 +325,11 @@
|
||||
var chatModal = $('#chat-modal').clone();
|
||||
chatModal.attr('id','chat-modal-'+touid);
|
||||
chatModal.appendTo($('body'));
|
||||
chatModal.draggable();
|
||||
chatModal.draggable({
|
||||
start:function(){
|
||||
bringModalToTop(chatModal);
|
||||
}
|
||||
});
|
||||
chatModal.find('#chat-with-name').html(username);
|
||||
|
||||
chatModal.find('.close').on('click',function(e){
|
||||
|
||||
Reference in New Issue
Block a user