Skip to content

Commit 7f65b7d

Browse files
committed
Fix "Missing initializer" error with using option in positioning
1 parent f76bbcd commit 7f65b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/position.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ $.fn.position = function( options ) {
285285
if ( options.using ) {
286286

287287
// Adds feedback as second argument to using callback, if present
288-
using = function( props ) {
288+
var using = function( props ) {
289289
var left = targetOffset.left - position.left,
290290
right = left + targetWidth - elemWidth,
291291
top = targetOffset.top - position.top,

0 commit comments

Comments
 (0)