Fixed incorrect typeof comparison (#7186)

pull/7195/head
Eli Schiff 4 years ago committed by Aleksander Machniak
parent bdf0a6539e
commit b6db3e4ad7

@ -9968,7 +9968,7 @@ function rcube_webmail()
for (i=0; i<len; i++) {
plugin = plugins[i];
if (typeof plugin === 'String') {
if (typeof plugin === 'string') {
if (regex.test(plugin))
return 1;
}

Loading…
Cancel
Save