aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/views/default/public/js
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-02 21:23:19 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-03-02 21:23:19 +0100
commitba7b9d48d407f87690a3fdc199b37714d2a52897 (patch)
treea15611f10d09749e82011e0d51532af3de8cfabd /app/Resources/views/default/public/js
parentfca3c757233940cbe4c431e3e05fe74893225fe0 (diff)
parent3e30422cdae3cc45f44c3039c2d38b99121dd9e9 (diff)
downloadwallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.tar.gz
wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.tar.zst
wallabag-ba7b9d48d407f87690a3fdc199b37714d2a52897.zip
Merge pull request #1132 from wallabag/v2-theme
V2 theme
Diffstat (limited to 'app/Resources/views/default/public/js')
-rw-r--r--app/Resources/views/default/public/js/closeMessage.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/app/Resources/views/default/public/js/closeMessage.js b/app/Resources/views/default/public/js/closeMessage.js
deleted file mode 100644
index b57fe4a8..00000000
--- a/app/Resources/views/default/public/js/closeMessage.js
+++ /dev/null
@@ -1,17 +0,0 @@
1$(function(){
2 //---------------------------------------------------------------------------
3 // Show the close icon when the user hover over a message
4 //---------------------------------------------------------------------------
5 $('.messages').on('mouseenter', function(){
6 $(this).find('a.closeMessage').stop(true, true).show();
7 }).on('mouseleave', function(){
8 $(this).find('a.closeMessage').stop(true, true).hide();
9 });
10 //---------------------------------------------------------------------------
11 // Close the message box when the user clicks the close icon
12 //---------------------------------------------------------------------------
13 $('a.closeMessage').on('click', function(){
14 $(this).parents('div.messages').slideUp(300, function(){ $(this).remove(); });
15 return false;
16 });
17}); \ No newline at end of file