Permalink
Browse files

add pointer

  • Loading branch information...
rizen committed Sep 4, 2018
1 parent 39336da commit 1f3360f2dd4e961f898a0b637de8a633ca9fb7cd
Showing with 3 additions and 0 deletions.
  1. +3 −0 public/wing.chatwrapper.js
@@ -61,12 +61,14 @@ chatwrapper = {
const min = document.createElement('span');
min.innerHTML = '×';
min.style.paddingLeft = '10px';
min.style.cursor = 'pointer';
min.title = 'Minimize';
min.addEventListener('click',chatwrapper.hide);
nav.appendChild(min);
const resize = document.createElement('span');
resize.innerHTML = '⊡';
resize.style.paddingLeft = '10px';
resize.style.cursor = 'pointer';
resize.title = 'Resize';
resize.addEventListener('click',function() {
if (m.style.width == '95%') {
@@ -84,6 +86,7 @@ chatwrapper = {
const oinw = document.createElement('span');
oinw.innerHTML = '⧉';
oinw.style.paddingLeft = '10px';
oinw.style.cursor = 'pointer';
oinw.title = 'Open in new window';
oinw.addEventListener('click',function() {
window.open('/chat');

0 comments on commit 1f3360f

Please sign in to comment.