update credits
[LibreOffice.git] / firefoxos / sdremote / js / ui.js
bloba8c7d6b746bd00fc808f335995514fbe4ae07899
1 function updatePreview( aSlideshow ) {
2 var aOutputImage = document.getElementById('preview');
3 var aPreview = aSlideshow.getPreview( aSlideshow.getCurrentSlide() );
5 aOutputImage.src = "data:image/png;base64," + aPreview;
6 console.log( "Set image : " + aPreview );
8 document.getElementById('current_slide').innerHTML = aSlideshow.getCurrentSlide();