Skip to content
Permalink
Browse files

Fixed test suite bug with Opera with the .attr('action') test. Opera …

…always returns a fully-qualified URL, not just 'formaction'. Boooo.
  • Loading branch information
jeresig committed Oct 3, 2006
1 parent 9203775 commit 301e2b64937cf1b03899f0583a9c6de1086820a5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery/jquery.js
@@ -391,8 +391,8 @@ jQuery.fn = jQuery.prototype = {
* ok( $('#simon').attr('class') == "blog link", 'Check for class attribute' );
* ok( $('#name').attr('name') == "name", '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
* @type Object
* @param String name The name of the property to access.

0 comments on commit 301e2b6

Please sign in to comment.
You can’t perform that action at this time.