Skip to content

Commit c8b6cc0

Browse files
committed
Fix conditional
1 parent df8cd44 commit c8b6cc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

coffee/tether.coffee

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,10 @@ class _Tether
381381
for module in Tether.modules
382382
ret = module.position.call(@, {left, top, targetAttachment, targetPos, @attachment, elementPos, offset, targetOffset, manualOffset, manualTargetOffset, scrollbarSize})
383383

384-
if not ret? or typeof ret isnt 'object'
385-
continue
386-
else if ret is false
384+
if ret is false
387385
return false
386+
else if not ret? or typeof ret isnt 'object'
387+
continue
388388
else
389389
{top, left} = ret
390390

0 commit comments

Comments
 (0)