display browser version
This commit is contained in:
parent
979deb4ccb
commit
d9147f8aa8
4 changed files with 24 additions and 8 deletions
|
@ -136,7 +136,7 @@
|
|||
else if (device.indexOf('firefox') != -1) {
|
||||
imgUrl = 'css/images/clients/firefox.png';
|
||||
}
|
||||
else if (device == 'internet explorer') {
|
||||
else if (device.indexOf('internet explorer') != -1) {
|
||||
imgUrl = 'css/images/clients/ie.png';
|
||||
}
|
||||
else if (device.indexOf('safari') != -1) {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
'Did you know that the trailer plugin can automatically download trailers for existing movies in your collection?'
|
||||
];
|
||||
|
||||
var random = Math.floor((Math.random() * tips.length * 2));
|
||||
var random = Math.floor((Math.random() * tips.length * 1.5));
|
||||
|
||||
var tip = tips[random];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue