Skip to content

Instantly share code, notes, and snippets.

@jefkin
Last active December 16, 2015 09:58
Show Gist options
  • Select an option

  • Save jefkin/5416412 to your computer and use it in GitHub Desktop.

Select an option

Save jefkin/5416412 to your computer and use it in GitHub Desktop.
And this is the code I replaced in the file: ms-Dropdown/js/msdropdown/jquery.dd.js in the var _adjustOpen = function () { ... } definition after the var's.
if ('alwaysdown' == _settings.openDirection.toLowerCase())
{
$("#" + childid).css({top: top + "px", zIndex: _settings.zIndex});
$("#" + id).removeClass("borderRadius borderRadiusBtm").addClass("borderRadiusTp");
}
else if ((wH + st) < Math.floor(cH + mH + pos.top) || _settings.openDirection.toLowerCase() == 'alwaysup') {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment