Commit c7cd0b14 authored by Gradl, Tobias's avatar Gradl, Tobias
Browse files

1295: Prepare release of v3.7

Task-Url: https://pm.winseda.de/issues/1295
parent 8ff548a0
...@@ -26,7 +26,7 @@ var ResultItem = function(options) { ...@@ -26,7 +26,7 @@ var ResultItem = function(options) {
}; };
ResultItem.prototype.resize = function() { ResultItem.prototype.resize = function() {
var innerWidth = $("#item-images").width(); /*var innerWidth = $("#item-images").width();
if (innerWidth > this.options.images.maxWidth) { if (innerWidth > this.options.images.maxWidth) {
innerWidth = this.options.images.maxWidth; innerWidth = this.options.images.maxWidth;
} }
...@@ -41,7 +41,7 @@ ResultItem.prototype.resize = function() { ...@@ -41,7 +41,7 @@ ResultItem.prototype.resize = function() {
$(".item-image").css("height", innerWidth + "px"); $(".item-image").css("height", innerWidth + "px");
$(".item-image").css("width", innerWidth + "px"); $(".item-image").css("width", innerWidth + "px");
$(".collection-image span").css("font-size", Math.floor($(".collection-image").width()*0.07)); $(".collection-image span").css("font-size", Math.floor($(".collection-image").width()*0.07));*/
}; };
ResultItem.prototype.toggleCollapsed = function(button) { ResultItem.prototype.toggleCollapsed = function(button) {
......
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