From 8ab81cf88691a3f5e17d452178c0c062925fd6c8 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 6 Jan 2016 00:08:33 +0530 Subject: [PATCH] getCSS needs iconSize --- static/js/infoView.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/infoView.js b/static/js/infoView.js index 85f5474..29fdb3c 100644 --- a/static/js/infoView.js +++ b/static/js/infoView.js @@ -6,10 +6,10 @@ oml.ui.infoView = function(identifyData) { arrayKeys = ['author', 'place', 'publisher', 'language'], - css = getCSS(iconSize, oml.config.iconRatio), - iconSize = identifyData ? 256 : ui.iconSize, + css = getCSS(iconSize, oml.config.iconRatio), + ids = [ {key: 'isbn', url: 'https://google.com/search?q=ISBN+{0}'}, {key: 'asin', url: 'http://www.amazon.com/dp/{0}'},