projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8a9aa9
)
kiosk g+ support albums
author
Bernhard Tittelbach
<xro@realraum.at>
Wed, 17 Apr 2013 17:24:48 +0000
(17:24 +0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Wed, 17 Apr 2013 17:24:48 +0000
(17:24 +0000)
raspberry-kiosk/kiosk.js
patch
|
blob
|
history
diff --git
a/raspberry-kiosk/kiosk.js
b/raspberry-kiosk/kiosk.js
index
90addfb
..
6d7c33e
100644
(file)
--- a/
raspberry-kiosk/kiosk.js
+++ b/
raspberry-kiosk/kiosk.js
@@
-12,7
+12,11
@@
function writeGooglePlusEvents(data, elem)
{
for (var a=0; a<attach.length; a++)
{
- if ( attach[a].objectType == "photo")
+ if ( attach[a].objectType == "album")
+ {
+ noteimg = attach[a].thumbnails[0].image.url;
+ }
+ else if ( attach[a].objectType == "photo")
{
noteimg = attach[a].image.url;
}