Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit c05e0ff

Browse files
committed
todo for code clarification
1 parent 3a23ee1 commit c05e0ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/widgets/forms/textinput.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,9 @@ $.widget( "mobile.textinput", $.mobile.widget, {
155155
},
156156

157157
enable: function() {
158-
159158
var $el;
159+
160+
// TODO using more than one line of code is acceptable ;)
160161
if ( this.element.attr( "disabled", false ).is( "[type='search'], :jqmData(type='search')" ) ) {
161162
$el = this.element.parent();
162163
} else {

0 commit comments

Comments
 (0)