From: Bernhard Tittelbach Date: Wed, 8 May 2013 23:56:31 +0000 (+0000) Subject: google chrome fix X-Git-Url: https://git.realraum.at/?a=commitdiff_plain;h=2acf320899ee18e6fb7e86bd7c5d6e959fec26bd;p=svn42.git google chrome fix --- 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++) {