Skip to content

Instantly share code, notes, and snippets.

@jefkin
jefkin / gist:5416412
Last active December 16, 2015 09:58
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') {