Skip to content
Browse files

todo for code clarification

  • Loading branch information...
1 parent 3a23ee1 commit c05e0ffda4d09a2bd843de48ed382bebecbc3ddf @johnbender johnbender committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/widgets/forms/textinput.js
View
3 js/widgets/forms/textinput.js
@@ -155,8 +155,9 @@ $.widget( "mobile.textinput", $.mobile.widget, {
},
enable: function() {
-
var $el;
+
+ // TODO using more than one line of code is acceptable ;)
if ( this.element.attr( "disabled", false ).is( "[type='search'], :jqmData(type='search')" ) ) {
$el = this.element.parent();
} else {

0 comments on commit c05e0ff

Please sign in to comment.
Something went wrong with that request. Please try again.