Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Clean ajaxify styles #152

Merged
merged 6 commits into from
Jul 22, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions assets/ajaxify.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ var ajaxifyShopify = (function(module, $) {
};

showModal = function (toggle) {
$body.addClass('ajaxify-modal-visible');
$body.addClass('ajaxify-modal--visible');
// Build the cart if it isn't already there
if ( !cartInit && toggle ) {
Shopify.getCart(cartUpdateCallback);
Expand Down Expand Up @@ -492,7 +492,7 @@ var ajaxifyShopify = (function(module, $) {
};

hideModal = function (e) {
$body.removeClass('ajaxify-modal-visible');
$body.removeClass('ajaxify-modal--visible');
if (e) {
e.preventDefault();
}
Expand Down