You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ma...@apache.org on 2013/12/18 10:28:01 UTC

svn commit: r1551889 - /flex/site/trunk/content/js/showcase.js

Author: mamsellem
Date: Wed Dec 18 09:28:00 2013
New Revision: 1551889

URL: http://svn.apache.org/r1551889
Log:
DONE - FLEX-33907 Showcase section in web site
fix bug

Modified:
    flex/site/trunk/content/js/showcase.js

Modified: flex/site/trunk/content/js/showcase.js
URL: http://svn.apache.org/viewvc/flex/site/trunk/content/js/showcase.js?rev=1551889&r1=1551888&r2=1551889&view=diff
==============================================================================
--- flex/site/trunk/content/js/showcase.js (original)
+++ flex/site/trunk/content/js/showcase.js Wed Dec 18 09:28:00 2013
@@ -71,6 +71,9 @@ added when document is ready
 
   $(document).ready(function () {
 
+      if (!document.getElementById("showcaseContainer"))
+            return;
+
     $("a.gallery").fancybox({ cyclic: false});
 
     /* add showcase entries when document is loaded */