Skip to content

Commit

Permalink
Fix Bug 1105312, fixes adobe reader icon on plugincheck page
Browse files Browse the repository at this point in the history
  • Loading branch information
ossreleasefeed committed Nov 26, 2014
1 parent 670e4d8 commit 1bc964b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion media/js/plugincheck/check-plugins.js
Expand Up @@ -14,6 +14,7 @@ $(function() {
outdatedFx.show();
}

var readerRegEx = /Adobe \b(Reader|Acrobat)\b.*/;
var iconFor = function (pluginName) {
if (pluginName.indexOf('Flash') >= 0) {
return 'icon-flash.png';
Expand All @@ -37,7 +38,7 @@ $(function() {
return 'icon-shockwave.png';
} else if (pluginName.indexOf('RealPlayer') >= 0) {
return 'icon-real.png';
} else if (pluginName.indexOf('Adobe Acrobat') >= 0) {
} else if (readerRegEx.test(pluginName)) {
return 'icon-acrobat.png';
} else if (pluginName.indexOf('Office Live') >= 0) {
return 'icon-officelive.png';
Expand Down

0 comments on commit 1bc964b

Please sign in to comment.