diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-12-15 00:44:30 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-12-15 00:44:30 +0100 |
commit | eb1886ce939e4268bf0aa43c0de85515cf2a6604 (patch) | |
tree | 3e76f504669bd7279e71e877a3714f32fba605b0 /static/js/kosten.ls | |
parent | 887be010bf1aa13580a36e6829b5690e03abfe9a (diff) | |
download | kosten-eb1886ce939e4268bf0aa43c0de85515cf2a6604.tar.gz kosten-eb1886ce939e4268bf0aa43c0de85515cf2a6604.tar.bz2 kosten-eb1886ce939e4268bf0aa43c0de85515cf2a6604.zip |
Search function
Diffstat (limited to '')
-rw-r--r-- | static/js/kosten.ls | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/static/js/kosten.ls b/static/js/kosten.ls index 5362fb3..e3a60d2 100644 --- a/static/js/kosten.ls +++ b/static/js/kosten.ls @@ -20,6 +20,18 @@ set-lang = !-> range-selector-to: \bis range-selector-zoom: null +# The Search Stuff +$ !-> + $ \form.search .hide! + + $ \li.search .click !-> + $ \form.search + ..toggle! + $ \input.search .focus! if .. .is \:visible + + $ \input.search .focusout !-> + $ \form.search .hide! + # Add export addJS = jq !-> $ 'input[name=date]' .datepicker do |