diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-02-15 19:22:13 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-02-15 19:22:13 +0100 |
commit | 559cd55bc8011b11706c1ffc5c0563b6f2f39491 (patch) | |
tree | 56b23b1c3b2ea96e5aaa03988d93b40947198b9f /src/Wallabag/CoreBundle/Resources/public/themes/baggy/js | |
parent | 4ead9c648f34f49d2d1249413694e6a57f33ef04 (diff) | |
parent | a8d5f8971eec8e84d80da1cf0834445f3874b2e4 (diff) | |
download | wallabag-559cd55bc8011b11706c1ffc5c0563b6f2f39491.tar.gz wallabag-559cd55bc8011b11706c1ffc5c0563b6f2f39491.tar.zst wallabag-559cd55bc8011b11706c1ffc5c0563b6f2f39491.zip |
Merge pull request #1672 from wallabag/v2-improve-baggy-theme
improve baggy theme (add new tag panel)
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/public/themes/baggy/js')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/public/themes/baggy/js/init.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/public/themes/baggy/js/init.js b/src/Wallabag/CoreBundle/Resources/public/themes/baggy/js/init.js index 74cbae68..9bdc6f21 100755 --- a/src/Wallabag/CoreBundle/Resources/public/themes/baggy/js/init.js +++ b/src/Wallabag/CoreBundle/Resources/public/themes/baggy/js/init.js | |||
@@ -48,4 +48,16 @@ $.fn.ready(function() { | |||
48 | $listmode.addClass("tablemode"); | 48 | $listmode.addClass("tablemode"); |
49 | } | 49 | } |
50 | 50 | ||
51 | /* ========================================================================== | ||
52 | Add tag panel | ||
53 | ========================================================================== */ | ||
54 | |||
55 | |||
56 | $('#nav-btn-add-tag').on('click', function(){ | ||
57 | $(".nav-panel-add-tag").toggle(100); | ||
58 | $(".nav-panel-menu").addClass('hidden'); | ||
59 | $("#tag_label").focus(); | ||
60 | return false; | ||
61 | }); | ||
62 | |||
51 | }); | 63 | }); |