smartphone-spoiler.js: Blackberry support
This commit is contained in:
parent
9677da2d95
commit
d834e09b09
@ -11,7 +11,7 @@
|
||||
*/
|
||||
|
||||
onready(function(){
|
||||
if(navigator.userAgent.match(/iPhone|iPod|iPad|Android|Opera Mini/i)) {
|
||||
if(navigator.userAgent.match(/iPhone|iPod|iPad|Android|Opera Mini|Blackberry|PlayBook/i)) {
|
||||
var spoilers = document.getElementsByClassName('spoiler');
|
||||
for(var i = 0; i < spoilers.length; i++) {
|
||||
spoilers[i].onmousedown = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user