Commit 266a57d3 authored by haemmer's avatar haemmer
Browse files

Set minimum size for drop down list height

parent 906fdef9
......@@ -272,7 +272,7 @@ function getImageElement(sourceElement,iconPath) {
var newID = sourceElement.attr('id');
var newImgElement = $('<img />');
var quirksModeOffset = (document.compatMode ==='CSS1Compat') ? 0 : 2;
var imageSize = sourceElement.outerHeight() + quirksModeOffset;
var imageSize = Math.max(sourceElement.outerHeight() + quirksModeOffset, 20);
newImgElement.attr('id', newID + idd_icon_suffix)
.attr('src',iconPath)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment