Remove jQuery.inArray usages
Replace jQuery.inArray with JS native Array.prototype.indexOf Change-Id: I0031f0385e440a34846334d158425182542a9ac9
This commit is contained in:
committed by
jenkins-bot
parent
54a3313e1a
commit
5a1da4dbaa
@@ -91,7 +91,7 @@
|
||||
|
||||
defaultFont = repository.defaultFont( language );
|
||||
|
||||
if ( classes && $.inArray( 'autonym', classes ) >= 0 ) {
|
||||
if ( classes && classes.indexOf( 'autonym' ) >= 0 ) {
|
||||
// Do not load font for showing autonym.
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user