From 5160dac4a56fcd9ae3d30d96d9bb4f827000fc57 Mon Sep 17 00:00:00 2001 From: JocelynDelalande Date: Thu, 21 Dec 2017 20:35:18 +0100 Subject: Replace some CSS by some JS (#288) --- ihatemoney/templates/list_bills.html | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'ihatemoney/templates') diff --git a/ihatemoney/templates/list_bills.html b/ihatemoney/templates/list_bills.html index e4034d4..81f8cd5 100644 --- a/ihatemoney/templates/list_bills.html +++ b/ihatemoney/templates/list_bills.html @@ -14,12 +14,6 @@ autoclose: true, language: '{{ g.lang }}' }); - - // Hide all members actions - $('.action').each(function(){ - $(this).hide(); - }); - // ask for confirmation before removing an user $('.action.delete').each(function(){ var link = $(this).find('button'); @@ -33,13 +27,6 @@ }); }); - // display the remove button on mouse over (and hide them per default) - $('.balance tr').hover(function(){ - $(this).find('.action').show(); - }, function(){ - $(this).find('.action').hide(); - }); - var highlight_owers = function(){ var ower_ids = $(this).attr("owers").split(','); var payer_id = $(this).attr("payer"); -- cgit v1.1