Firefogg 334 works again, use if installed

This commit is contained in:
j 2015-02-04 13:23:47 +05:30
parent 5d4442d2ff
commit e3a686601b

View file

@ -5,7 +5,8 @@ pandora.ui.uploadVideoDialog = function(data) {
var cancelled = false,
file,
hasFirefogg = !(typeof Firefogg == 'undefined') && $.browser.version < "35",
hasFirefogg = !(typeof Firefogg == 'undefined') && (
$.browser.version < "35" || Firefogg().version >= 334),
itemView = pandora.site.capabilities.canSeeExtraItemViews[pandora.user.level] ? 'media' : 'info',
selectFile,
$actionButton,