Fixed test suite bug with Opera with the .attr('action') test. Opera always returns a fully-qualified URL, not just 'formaction'. Boooo.
This commit is contained in:
parent
9203775234
commit
301e2b6493
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -391,8 +391,8 @@ jQuery.fn = jQuery.prototype = {
|
||||||
* ok( $('#simon').attr('class') == "blog link", 'Check for class attribute' );
|
* ok( $('#simon').attr('class') == "blog link", 'Check for class attribute' );
|
||||||
* ok( $('#name').attr('name') == "name", 'Check for name attribute' );
|
* ok( $('#name').attr('name') == "name", 'Check for name attribute' );
|
||||||
* ok( $('#text1').attr('name') == "action", 'Check for name attribute' );
|
* ok( $('#text1').attr('name') == "action", 'Check for name attribute' );
|
||||||
* ok( $('#form').attr('action') == "formaction", 'Check for action attribute' );
|
* ok( $('#form').attr('action').indexOf("formaction") >= 0, 'Check for action attribute' );
|
||||||
*
|
*
|
||||||
* @name attr
|
* @name attr
|
||||||
* @type Object
|
* @type Object
|
||||||
* @param String name The name of the property to access.
|
* @param String name The name of the property to access.
|
||||||
|
|
Loading…
Reference in a new issue