From 833f16bd4a7f5d4c5f222dbab9f34bbaad191c5b Mon Sep 17 00:00:00 2001 From: cappadona Date: Tue, 28 Jun 2011 18:21:14 +0000 Subject: [PATCH] Updated to use .hidden class defined in vitro.css --- productMods/js/individual/individualUtils.js | 4 ++-- .../body/partials/individual/individual-qrCodeGenerator.ftl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/productMods/js/individual/individualUtils.js b/productMods/js/individual/individualUtils.js index 9abbdb89..b39beaa2 100644 --- a/productMods/js/individual/individualUtils.js +++ b/productMods/js/individual/individualUtils.js @@ -43,8 +43,8 @@ $(document).ready(function(){ // Reveal vCard QR code when QR icon is clicked $('#qrIcon, .qrCloseLink').click(function() { - $('#qrCodeImage').toggleClass('hide'); - // event.preventDefault(); + $('#qrCodeImage').toggleClass('hidden'); + event.preventDefault(); //duplicates return false but necessary for IE return false; }); }); \ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl b/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl index e800c2a1..b470db70 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-qrCodeGenerator.ftl @@ -35,7 +35,7 @@ <#elseif (display == "icon")>
  • qr icon - ${qrCodeLinkedImage} Close +
  • <#else>

    You have passed an invalid value for the qrCode display parameter.