r91894 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r91893
|
r91894
|
r91895
>
Date:
18:14, 11 July 2011
Author:
brion
Status:
ok
Tags:
Comment:
Followup
r91844
: fix jquery.byteLimit test cases on IE6, IE7
str[i] doesn't work on these older browsers; use str.charAt(i) instead.
Modified paths:
/trunk/phase3/tests/qunit/suites/resources/jquery/jquery.byteLimit.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/tests/qunit/suites/resources/jquery/jquery.byteLimit.js
—
—
@@ -19,7 +19,7 @@
20
20
var event = new jQuery.Event( 'keypress', { keyCode: code, which: code, charCode: code } );
21
21
$input.trigger( event );
22
22
if ( !event.isDefaultPrevented() ) {
23
- $input.val( prevVal + charstr[i] );
23
+ $input.val( prevVal + charstr.charAt(i) );
24
24
}
25
25
}
26
26
};
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r91844
Add test suite for jquery.byteLimit:...
krinkle
21:01, 10 July 2011
Status & tagging log
18:18, 11 July 2011
Krinkle
(
talk
|
contribs
)
changed the
status
of r91894
[
removed:
new
added:
ok]