diff --git a/static/css/style.css b/static/css/style.css index 313bd5c..9cb552e 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -208,6 +208,11 @@ input { padding: 0px 8px 3px 8px; margin: 2px; word-wrap: break-word;; + user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -webkit-user-select: none; + -o-user-select: none; } .message-other { diff --git a/static/js/app.js b/static/js/app.js index 04f84b3..e1d5879 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -167,7 +167,7 @@ function connect_next() { vayakti = []; typing = []; State.hideProgress(); - Messages.pushStatus('Connectedas '+data.name+' at '+Messages.currentTime()); + Messages.pushStatus('Connected as '+myinfo.name+' at '+Messages.currentTime()); socket.send(JSON.stringify({cmd: 'list'})); }); socket.send(JSON.stringify({ cmd: 'randnext' })); diff --git a/static/js/onload.js b/static/js/onload.js index 733dfb0..9d02476 100644 --- a/static/js/onload.js +++ b/static/js/onload.js @@ -46,4 +46,8 @@ $(document).ready(function() { }); Camera.setupCamera(); + + $(document).bind("contextmenu",function(e){ + return false; + }); }); \ No newline at end of file