From 2acf320899ee18e6fb7e86bd7c5d6e959fec26bd Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Wed, 8 May 2013 23:56:31 +0000 Subject: [PATCH] google chrome fix --- raspberry-kiosk/kiosk.css | 2 +- raspberry-kiosk/kiosk.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/raspberry-kiosk/kiosk.css b/raspberry-kiosk/kiosk.css index 4ba94a6..145920e 100644 --- a/raspberry-kiosk/kiosk.css +++ b/raspberry-kiosk/kiosk.css @@ -194,7 +194,7 @@ table.gplusimg { margin-right:0; overflow:hidden; max-height:275px; - width:495px; + max-width:495px; border: 0px none black; padding: 0; border-spacing: 0; diff --git a/raspberry-kiosk/kiosk.js b/raspberry-kiosk/kiosk.js index 84104fb..edbef05 100644 --- a/raspberry-kiosk/kiosk.js +++ b/raspberry-kiosk/kiosk.js @@ -9,7 +9,8 @@ function min(a,b) function writeGooglePlusEvents(data, elem) { var ghtml = ""; - var gplusimgwidth = parseInt($('').css("width")); + //var gplusimgwidth = parseInt($('
').css("width")); + var gplusimgwidth = 495; var minimgwidth=78; for (var i=0; i< data.items.length; i++) { -- 1.7.10.4