From: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Date: Thu, 5 Aug 2010 08:22:19 +0000 (+0200)
Subject: remove double gallery initialization
X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/cbae1e671056708da934db5f07f8a5e9d9afc95c?hp=c931affe5b2e863ad2752a51f8b27d45d5dbb98b

remove double gallery initialization
---

diff --git a/redakcja/static/js/wiki/loader.js b/redakcja/static/js/wiki/loader.js
index 58a12e1c..42561157 100644
--- a/redakcja/static/js/wiki/loader.js
+++ b/redakcja/static/js/wiki/loader.js
@@ -17,10 +17,6 @@ $(function()
 
     function initialize()
 	{
-		gallery = new $.wiki.ScanGalleryPerspective({
-			doc: CurrentDocument, id: "ScanGalleryPerspective"
-		});
-
 		$(document).keydown(function(event) {
 			console.log("Received key:", event);
 		});