getCSS needs iconSize

This commit is contained in:
j 2016-01-06 00:08:33 +05:30
parent 3db2418652
commit 8ab81cf886

View file

@ -6,10 +6,10 @@ oml.ui.infoView = function(identifyData) {
arrayKeys = ['author', 'place', 'publisher', 'language'], arrayKeys = ['author', 'place', 'publisher', 'language'],
css = getCSS(iconSize, oml.config.iconRatio),
iconSize = identifyData ? 256 : ui.iconSize, iconSize = identifyData ? 256 : ui.iconSize,
css = getCSS(iconSize, oml.config.iconRatio),
ids = [ ids = [
{key: 'isbn', url: 'https://google.com/search?q=ISBN+{0}'}, {key: 'isbn', url: 'https://google.com/search?q=ISBN+{0}'},
{key: 'asin', url: 'http://www.amazon.com/dp/{0}'}, {key: 'asin', url: 'http://www.amazon.com/dp/{0}'},