From 0440249631164a378981d014bf71b617c082bf5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 21 Jan 2015 16:04:05 +0100 Subject: move templates into resources --- themes/default/public/js/closeMessage.js | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 themes/default/public/js/closeMessage.js (limited to 'themes/default/public/js') diff --git a/themes/default/public/js/closeMessage.js b/themes/default/public/js/closeMessage.js deleted file mode 100644 index b57fe4a8..00000000 --- a/themes/default/public/js/closeMessage.js +++ /dev/null @@ -1,17 +0,0 @@ -$(function(){ - //--------------------------------------------------------------------------- - // Show the close icon when the user hover over a message - //--------------------------------------------------------------------------- - $('.messages').on('mouseenter', function(){ - $(this).find('a.closeMessage').stop(true, true).show(); - }).on('mouseleave', function(){ - $(this).find('a.closeMessage').stop(true, true).hide(); - }); - //--------------------------------------------------------------------------- - // Close the message box when the user clicks the close icon - //--------------------------------------------------------------------------- - $('a.closeMessage').on('click', function(){ - $(this).parents('div.messages').slideUp(300, function(){ $(this).remove(); }); - return false; - }); -}); \ No newline at end of file -- cgit v1.2.3