Skip to content

Commit 6da45f5

Browse files
author
Ben Creasy
committed
Merge pull request #37 from jorrit/patch-1
Fix typos in comments in plugin.js
2 parents 3d929c8 + eab11e6 commit 6da45f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/typeahead/plugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
return success;
160160
},
161161

162-
// mirror jQuery#val functionality: reads opearte on first match,
162+
// mirror jQuery#val functionality: reads operate on first match,
163163
// write operates on all matches
164164
val: function val(newVal) {
165165
var query;
@@ -186,7 +186,7 @@
186186
};
187187

188188
$.fn.typeahead = function(method) {
189-
// methods that should only act on intialized typeaheads
189+
// methods that should only act on initialized typeaheads
190190
if (methods[method]) {
191191
return methods[method].apply(this, [].slice.call(arguments, 1));
192192
}

0 commit comments

Comments
 (0)