diff --git a/view/vue-config.js b/view/vue-config.js index 511a917..a32fc61 100644 --- a/view/vue-config.js +++ b/view/vue-config.js @@ -73,19 +73,7 @@ gstore.add('func', { gstore.data.notif[id].count = 0; }, - toggleMenuSize: function(){ gstore.data.min_menu=!gstore.data.min_menu; }, - sendMessage: function(msg, wsc){ - - /* (1) If empty message -> abort */ - if( msg.trim().length == 0 ) - return; - - /* (2) Send message to WebSocket */ - wsc.send(JSON.stringify({message: msg})); - - /* (3) Add loader */ - gstore.data.msg_pending.inbox = true; - } + toggleMenuSize: function(){ gstore.data.min_menu=!gstore.data.min_menu; } });