aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/_global
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2015-02-10 22:23:48 +0100
committerThomas Citharel <tcit@tcit.fr>2015-02-10 22:23:48 +0100
commitd7d88631e125c98cc2e7432c8147afc2ceda3d42 (patch)
treeb567279f52a2fea6271a0541c8937e9f2b91c0a5 /themes/_global
parent28c42eb1d83856d014a74fe0370d6d0a7a892580 (diff)
parent9fdd88436dec8abcf171518f7fa99d29bc9d5672 (diff)
downloadwallabag-d7d88631e125c98cc2e7432c8147afc2ceda3d42.tar.gz
wallabag-d7d88631e125c98cc2e7432c8147afc2ceda3d42.tar.zst
wallabag-d7d88631e125c98cc2e7432c8147afc2ceda3d42.zip
Merge pull request #1015 from wallabag/savewithtags
Savewithtags
Diffstat (limited to 'themes/_global')
-rwxr-xr-xthemes/_global/js/saveLink.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/themes/_global/js/saveLink.js b/themes/_global/js/saveLink.js
index a7acd84c..b7dd7a34 100755
--- a/themes/_global/js/saveLink.js
+++ b/themes/_global/js/saveLink.js
@@ -4,6 +4,8 @@ $.fn.ready(function() {
4 $bagitForm = $('#bagit-form'), 4 $bagitForm = $('#bagit-form'),
5 $bagitFormForm = $('#bagit-form-form'); 5 $bagitFormForm = $('#bagit-form-form');
6 6
7$("#tags2add").hide();
8
7 /* ========================================================================== 9 /* ==========================================================================
8 bag it link and close button 10 bag it link and close button
9 ========================================================================== */ 11 ========================================================================== */
@@ -78,6 +80,14 @@ $.fn.ready(function() {
78 event.preventDefault(); 80 event.preventDefault();
79 }); 81 });
80 82
83$('#showtaginput').click(function(){
84 $('#tags2add').toggle();
85 $('#plainurl').toggle();
86 $('#showtaginput').toggleClass('icon-tags');
87 $('#showtaginput').toggleClass('icon-check');
88});
89
90
81 /* ========================================================================== 91 /* ==========================================================================
82 Keyboard gestion 92 Keyboard gestion
83 ========================================================================== */ 93 ========================================================================== */