Permalink
Browse files

position absolute implementation bug fix

  • Loading branch information...
1 parent 5ddc059 commit ef82d2ddd79d4c6a48f38a3c4ec4b55996e87822 @ivorafael ivorafael committed Apr 12, 2012
Showing with 7 additions and 1 deletion.
  1. +6 −0 source/css/droapps-ui.customselect.css
  2. +1 −1 source/js/droapps-ui.customselect.js
@@ -16,6 +16,12 @@ select.droapps-ui-customselect-skinned {
overflow: hidden;
}
+select.droapps-ui-customselect-skinned.is_absolute{
+ visibility: hidden;
+ position: static;
+ height: auto;
+}
+
/* resetting plugin elements */
dl.droapps-ui-customselect,
dl.droapps-ui-customselect dt,
@@ -55,7 +55,7 @@ $.widget( "droapps-ui.customselect", {
'<dd class="droapps-ui-customselect-holder-list"><ul class="droapps-ui-customselect-holder-items" /></dd>' +
'</dl>'
);
- this.element.addClass('droapps-ui-customselect-skinned');
+ this.element.addClass('droapps-ui-customselect-skinned 0'.replace( /0/g, this.options.is_absolute ? 'is_absolute' : '' ) );
this.skinned.addClass(function(){
return [ o.classname , o.position ].join(' ');
});

0 comments on commit ef82d2d

Please sign in to comment.