-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamical delete products and show total price in cart view was added…
…. Improvements in appearance and usage of local storage
- Loading branch information
vilgefortzz
committed
Apr 28, 2017
1 parent
66b89fa
commit 52fa2b1
Showing
17 changed files
with
345 additions
and
207 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
$(document).ready(function() { | ||
$('#list').click(function(event){event.preventDefault();$('.btn-separator').show();$('.group_div').removeClass('col-xs-12');$('#list').addClass('active');$('#grid').removeClass('active');$('#products .item').addClass('list-group-item');}); | ||
$('#grid').click(function(event){event.preventDefault();$('.btn-separator').hide();$('.group_div').addClass('col-xs-12');$('#grid').addClass('active');$('#list').removeClass('active');$('#products .item').removeClass('list-group-item');$('#products .item').addClass('grid-group-item');}); | ||
|
||
$('#list').click(function(event){event.preventDefault();$('.group_div').removeClass('col-xs-12');$('#list').addClass('active');$('#grid').removeClass('active');$('#products .item').addClass('list-group-item');}); | ||
$('#grid').click(function(event){event.preventDefault();$('.group_div').addClass('col-xs-12');$('#grid').addClass('active');$('#list').removeClass('active');$('#products .item').removeClass('list-group-item');$('#products .item').addClass('grid-group-item');}); | ||
}); |
Oops, something went wrong.