r92190 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r92189
|
r92190
|
r92191
>
Date:
20:30, 14 July 2011
Author:
krinkle
Status:
ok
Tags:
Comment:
Fix typo from
r90186
. It's not inArray but isArray, which obviously does return a boolean value
Modified paths:
/trunk/extensions/Vector/modules/ext.vector.simpleSearch.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/Vector/modules/ext.vector.simpleSearch.js
—
—
@@ -54,7 +54,7 @@
55
55
},
56
56
dataType: 'json',
57
57
success: function( data ) {
58
- if ( $.isArray( data ) !== -1 && 1 in data ) {
58
+ if ( $.isArray( data ) && 1 in data ) {
59
59
$this.suggestions( 'suggestions', data[1] );
60
60
}
61
61
}
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r90186
Minor fixed in ext.vector.simpleSearch...
krinkle
23:21, 15 June 2011
Status & tagging log
18:06, 9 August 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r92190
[
removed:
new
added:
ok]