diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-13 21:07:27 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-09-13 21:07:27 +0200 |
commit | b004a236ba0cc96bf530801a55cdddf9ec809d13 (patch) | |
tree | 9cd57b48d5a4c5ec7952ba02736c8209f1c95c69 /src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js | |
parent | 4d5fd9be812825c480589cdcfcec281ffb5aa66a (diff) | |
parent | 1a5f7e2d88284419654057fda71e2b0be9b5439a (diff) | |
download | wallabag-b004a236ba0cc96bf530801a55cdddf9ec809d13.tar.gz wallabag-b004a236ba0cc96bf530801a55cdddf9ec809d13.tar.zst wallabag-b004a236ba0cc96bf530801a55cdddf9ec809d13.zip |
Merge pull request #1401 from wallabag/v2-baggy-themes
Cleanup baggy
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js b/src/Wallabag/CoreBundle/Resources/views/themes/_global/public/js/closeMessage.js deleted file mode 100644 index 527719d5..00000000 --- a/src/Wallabag/CoreBundle/Resources/views/themes/_global/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 | ||