aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/baggy/js/closeMessage.js
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-10-03 09:09:45 +0200
committerGitHub <noreply@github.com>2016-10-03 09:09:45 +0200
commitab809de18415a9ce3bbc95d3a0a1af6c50a41c4f (patch)
treebee406df7af4b6e024764e153d8844dfe69aeda1 /app/Resources/static/themes/baggy/js/closeMessage.js
parentdfbbf0e18ad585e318c2609e46963e4b9fd198ef (diff)
parent49f25d6ee820619a15851b12a33667d707e4edf7 (diff)
downloadwallabag-ab809de18415a9ce3bbc95d3a0a1af6c50a41c4f.tar.gz
wallabag-ab809de18415a9ce3bbc95d3a0a1af6c50a41c4f.tar.zst
wallabag-ab809de18415a9ce3bbc95d3a0a1af6c50a41c4f.zip
Merge pull request #2314 from wallabag/assets
Assets work
Diffstat (limited to 'app/Resources/static/themes/baggy/js/closeMessage.js')
-rw-r--r--app/Resources/static/themes/baggy/js/closeMessage.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/Resources/static/themes/baggy/js/closeMessage.js b/app/Resources/static/themes/baggy/js/closeMessage.js
deleted file mode 100644
index ae4b1791..00000000
--- a/app/Resources/static/themes/baggy/js/closeMessage.js
+++ /dev/null
@@ -1,19 +0,0 @@
1var $ = global.jquery = require('jquery');
2
3$(function () {
4 //---------------------------------------------------------------------------
5 // Show the close icon when the user hover over a message
6 //---------------------------------------------------------------------------
7 // $('.messages').on('mouseenter', function(){
8 // $(this).find('a.closeMessage').stop(true, true).show();
9 // }).on('mouseleave', function(){
10 // $(this).find('a.closeMessage').stop(true, true).hide();
11 // });
12 //---------------------------------------------------------------------------
13 // Close the message box when the user clicks the close icon
14 //---------------------------------------------------------------------------
15 $('a.closeMessage').on('click', function () {
16 $(this).parents('div.messages').slideUp(300, function () { $(this).remove(); });
17 return false;
18 });
19});