Skip to content
Permalink
Browse files

Position: Allow without "at" option passed. (Not need it when align t…

…o cursor.)
  • Loading branch information
chicheng committed Jul 30, 2009
1 parent 175f360 commit ff4064916ed7da4c4e16e6eb307d20047575ae91
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.position.js
@@ -51,7 +51,7 @@ $.fn.position = function(options) {
// force my and at to have valid horizontal and veritcal positions
// if a value is missing or invalid, it will be converted to center
$.each(['my', 'at'], function() {
var pos = ( options[this] || horizontalDefault ).split(' ');
var pos = ( options[this] || "" ).split(' ');
pos = pos.length == 1
? horizontalPositions.test(pos[0])
? pos.concat([verticalDefault])

0 comments on commit ff40649

Please sign in to comment.
You can’t perform that action at this time.