From: Benoît Pin Date: Fri, 1 Aug 2014 19:32:19 +0000 (+0200) Subject: bugfix. X-Git-Url: https://svn.cri.ensmp.fr/git/Portfolio.git/commitdiff_plain/334acf5aa6d09c235efd7829a155e3fb0b61eff6?hp=4d5ba04bc322584f7837abf736eb9e414bfc0e44 bugfix. --- diff --git a/skins/photo_film_viewer.js b/skins/photo_film_viewer.js index 0b1fde3..0a1cab9 100644 --- a/skins/photo_film_viewer.js +++ b/skins/photo_film_viewer.js @@ -722,8 +722,8 @@ FilmSlider.prototype.refreshImage = function() { FilmSlider.prototype.updateBreadcrumbs = function(url, title) { if (this.hasBreadcrumbs) { - this.lastBCElement.href = element.getAttribute('lastBcUrl'); - this.lastBCElement.innerHTML = element.getAttribute('img_id'); + this.lastBCElement.href = url; + this.lastBCElement.innerHTML = title; } };