Add data-close-on-click false
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 27 Jun 2019 20:51:00 +0000 (16:51 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 27 Jun 2019 20:51:00 +0000 (16:51 -0400)
to keep reveals from closing if they click outside of it.

views/admin/billing/accounts.html

index 050c1d2..cf0ceac 100644 (file)
 
 </script>
 
-<div id="glmBillingInfo" class="medium reveal" data-reveal>
+<div id="glmBillingInfo" class="medium reveal" data-reveal data-close-on-click="false">
 </div>
 <div class="reveal" id="billingInfoSuccess" data-reveal>
     <h2>Billing Info Updated!</h2>
         <span aria-hidden="true">&times;</span>
     </button>
 </div>
-<div id="glmBillingStatements" class="large reveal" data-reveal>
+<div id="glmBillingStatements" class="large reveal" data-reveal data-close-on-click="false">
     <button class="close-button" data-close aria-label="Close" type="button">
         <span aria-hidden="true">&times;</span>
     </button>
 </div>
-<div id="glmBillingPayment" class="medium reveal" data-reveal>
+<div id="glmBillingPayment" class="medium reveal" data-reveal data-close-on-click="false">
 </div>
-<div id="glmBillingView" class="large reveal" data-reveal>
+<div id="glmBillingView" class="large reveal" data-reveal data-close-on-click="false">
 </div>
 <div id="glmLoading" class="" style="display:none; position: absolute; left: 50%; top: 50vh;width: 100%; height: 100%;z-index: 9999;">
     <img src="{$pluginAssetsUrl}loading25.gif">