master
			
			
		
		
							parent
							
								
									b93f9ce546
								
							
						
					
					
						commit
						d9b5f20e3e
					
				| 
						 | 
				
			
			@ -99,7 +99,7 @@ function updateProductsInLocalStorage(){
 | 
			
		|||
        $('#list-products-in-bag').parent().parent().parent().parent().parent().find('.modal-footer').show();
 | 
			
		||||
        $('#total-price').parent().parent().parent().show();
 | 
			
		||||
        $('#no-products').hide();
 | 
			
		||||
        $('#modal-buttons').hide();
 | 
			
		||||
        $('#modal-buttons').show();
 | 
			
		||||
        if(typeof updateProducts === "function"){
 | 
			
		||||
            $('#form-section').show();
 | 
			
		||||
            $('#list-products').parent().parent().parent().parent().parent().find('.modal-footer').show();
 | 
			
		||||
| 
						 | 
				
			
			@ -123,6 +123,7 @@ function updateProductsInLocalStorage(){
 | 
			
		|||
        $('#list-products-in-bag').parent().parent().parent().parent().parent().find('.modal-footer').hide();
 | 
			
		||||
        $('#total-price').parent().parent().parent().hide();
 | 
			
		||||
        $('#no-products').show();
 | 
			
		||||
        $('#modal-buttons').hide();
 | 
			
		||||
        if(typeof updateProducts === "function"){
 | 
			
		||||
            $('#form-section').hide();
 | 
			
		||||
            $('#list-products').parent().parent().parent().parent().parent().find('.modal-footer').hide();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -29,7 +29,7 @@ $(window).on('load', function(){
 | 
			
		|||
            $('#list-products-in-bag').parent().parent().parent().parent().parent().find('.modal-footer').show();
 | 
			
		||||
            $('#total-price').parent().parent().parent().show();
 | 
			
		||||
            $('#no-products').hide();
 | 
			
		||||
            $('#modal-buttons').hide();
 | 
			
		||||
            $('#modal-buttons').show();
 | 
			
		||||
            if(typeof updateProducts === "function"){
 | 
			
		||||
                $('#form-section').show();
 | 
			
		||||
                $('#list-products').parent().parent().parent().parent().parent().find('.modal-footer').show();
 | 
			
		||||
| 
						 | 
				
			
			@ -43,6 +43,7 @@ $(window).on('load', function(){
 | 
			
		|||
            $('#list-products-in-bag').parent().parent().parent().parent().parent().find('.modal-footer').hide();
 | 
			
		||||
            $('#total-price').parent().parent().parent().hide();
 | 
			
		||||
            $('#no-products').show();
 | 
			
		||||
            $('#modal-buttons').hide();
 | 
			
		||||
            if(typeof updateProducts === "function"){
 | 
			
		||||
                $('#form-section').hide();
 | 
			
		||||
                $('#list-products').parent().parent().parent().parent().parent().find('.modal-footer').hide();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue