ircbuttion - handle touch events too

This commit is contained in:
Carsten Haitzler 2017-07-11 12:02:26 +09:00
parent 5892ee84a4
commit 43a5824062
1 changed files with 2 additions and 0 deletions

View File

@ -3,7 +3,9 @@
<div id="ircbutton"
onmousedown="this.style.background='#3399ff'"
ontouchstart="this.style.background='#3399ff'"
onmouseup="this.style.background='#181818'"
ontouchend="this.style.background='#181818'"
onclick="{
var d = document.getElementById('ircbubble');
if (!(d.style.display === 'none')) {