Skip to content

Instantly share code, notes, and snippets.

@ulope
Created August 25, 2011 12:34
Show Gist options
  • Save ulope/1170555 to your computer and use it in GitHub Desktop.
Save ulope/1170555 to your computer and use it in GitHub Desktop.
diff --git a/web/js/Renderer/Lightbox.js b/web/js/Renderer/Lightbox.js
index c9c2149..920f72a 100755
--- a/web/js/Renderer/Lightbox.js
+++ b/web/js/Renderer/Lightbox.js
@@ -139,7 +139,7 @@ XtLightbox.Renderer.Lightbox = new Class({
close: true
}, options);
this.empty();
- this.elTitle.set('text', options.title || '');
+ this.elTitle.set('html', options.title || '');
if (options.position && options.total && (!this.options.hideSinglePosition || options.total > 1)){
this.elPosition.set('text', this.options.positionText.substitute({
x: options.position,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment