mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
Fix 'jQuery.browser is deprecated' warning in common.js
This commit is contained in:
parent
1a9559714d
commit
55c6d5be9b
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ function _displayMultimedia(src, width, height, options) {
|
|||
}
|
||||
html += '' + '<embed src="'+src+'" allowscriptaccess="never" autostart="'+autostart+'" width="'+width+'" height="'+height+'" flashvars="'+params.flashvars+'" wmode="'+params.wmode+'"></embed>' + '</object>';
|
||||
} else {
|
||||
if (jQuery.browser.mozilla || jQuery.browser.opera) {
|
||||
if (navigator.userAgent.match(/(firefox|opera)/i)) {
|
||||
// firefox and opera uses 0 or 1 for autostart parameter.
|
||||
autostart = (params.autostart && params.autostart != 'false') ? '1' : '0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue