From 334acf5aa6d09c235efd7829a155e3fb0b61eff6 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Benoi=CC=82t=20Pin?= <benoit.pin@gmail.com>
Date: Fri, 1 Aug 2014 21:32:19 +0200
Subject: [PATCH 1/1] bugfix.

---
 skins/photo_film_viewer.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;
 	}
 };
 
-- 
2.20.1