Permalink
Browse files

displaying a div was broken. fixed.

Signed-off-by: Adam Meehan <adam.meehan@gmail.com>
  • Loading branch information...
1 parent 191d540 commit b7d416d4117bd653cf11229d1ff55caa47ae9519 @raskchanky raskchanky committed with Sep 3, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 facebox.js
View
@@ -266,7 +266,7 @@
if (href.match(/#/)) {
var url = window.location.href.split('#')[0]
var target = href.replace(url,'')
- $.facebox.reveal($(target).show().replaceWith("<div id='facebox_moved'></div>"), klass)
+ $.facebox.reveal($(target).clone().show(), klass)
// image
} else if (href.match($.facebox.settings.imageTypesRegexp)) {

0 comments on commit b7d416d

Please sign in to comment.