forked from server/soundboard
made button text unselectable
This commit is contained in:
parent
6758be0396
commit
fa23ea0fbf
@ -101,3 +101,12 @@ div #reset:hover {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.unselectable {
|
||||||
|
-webkit-touch-callout: none;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-khtml-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@ -38,7 +38,7 @@
|
|||||||
<section id="sounds">
|
<section id="sounds">
|
||||||
<div><input type="text" id="search" autofocus/><span id="reset">⨯</span></div>
|
<div><input type="text" id="search" autofocus/><span id="reset">⨯</span></div>
|
||||||
{% for sound in sounds %}
|
{% for sound in sounds %}
|
||||||
<div class="sound"><a onclick="ajaxRequest('{{ sound | urlencode }}');">{{ sound.split('.', 1)[0] }}</a></div>
|
<div class="sound"><a class="unselectable" onclick="ajaxRequest('{{ sound | urlencode }}');">{{ sound.split('.', 1)[0] }}</a></div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
<section id="youtube">
|
<section id="youtube">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user