From 69e3df2b59c313c72049f9ba3a0a3b24a94a4862 Mon Sep 17 00:00:00 2001 From: Fatdude Date: Mon, 22 Nov 2010 17:15:15 +0000 Subject: [PATCH] Added dataType to $.get() so that it registers correctly with rails responder --- src/facebox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/facebox.js b/src/facebox.js index 5ad90ed..f3b2c9f 100644 --- a/src/facebox.js +++ b/src/facebox.js @@ -260,7 +260,7 @@ } function fillFaceboxFromAjax(href, klass) { - $.get(href, function(data) { $.facebox.reveal(data, klass) }) + $.get(href, function(data) { $.facebox.reveal(data, klass) }, 'script') } function skipOverlay() {