bugfix.
authorBenoît Pin <benoit.pin@gmail.com>
Fri, 1 Aug 2014 19:32:19 +0000 (21:32 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Fri, 1 Aug 2014 19:32:19 +0000 (21:32 +0200)
skins/photo_film_viewer.js

index 0b1fde3..0a1cab9 100644 (file)
@@ -722,8 +722,8 @@ FilmSlider.prototype.refreshImage = function() {
 
 FilmSlider.prototype.updateBreadcrumbs = function(url, title) {
        if (this.hasBreadcrumbs) {
 
 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;
        }
 };
 
        }
 };