Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
console.log(options);
options.loadingClass = $this.css('text-align') === 'right' ? options.loadingClassRight
: options.loadingClassLeft;
+ $this.attr('autocomplete', 'off');
$popup = buildPopup(this, options.destination, function() {
options.selectAction.apply(this, arguments);
if (typeof text === 'string') {
args.push(text);
if (width) {
- args.push(width);
+ args.push(WIDTH, width);
}
if (height) {
- args.push(height);
+ args.push(HEIGHT, height);
}
} else {
for (key in text) {