1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-28 01:10:51 +01:00

smartphone-spoiler.js: Opera Mini support

This commit is contained in:
Michael Save 2012-03-31 23:29:50 +11:00
parent af3ec3f8c7
commit c2437737b4

View File

@ -11,7 +11,7 @@
*/
onready(function(){
if(navigator.userAgent.match(/iPhone|iPod|iPad|Android/i)) {
if(navigator.userAgent.match(/iPhone|iPod|iPad|Android|Opera Mini/i)) {
var spoilers = document.getElementsByClassName('spoiler');
for(var i = 0; i < spoilers.length; i++) {
spoilers[i].onmousedown = function() {