fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add audience and thema data to catalogue. Also: nicer cover view.
[redakcja.git]
/
src
/
redakcja
/
static
/
js
/
wiki
/
toolbar.js
diff --git
a/src/redakcja/static/js/wiki/toolbar.js
b/src/redakcja/static/js/wiki/toolbar.js
index
3eafdae
..
8e4c0f0
100644
(file)
--- a/
src/redakcja/static/js/wiki/toolbar.js
+++ b/
src/redakcja/static/js/wiki/toolbar.js
@@
-19,10
+19,10
@@
});
});
});
});
- $
toolbar.children().filter('select'
).change(function(event){
+ $
('select', $toolbar
).change(function(event){
var slug = $(this).val();
$container.scrollLeft(0);
var slug = $(this).val();
$container.scrollLeft(0);
- $('*[data-group]').hide().filter('[data-group=
' + slug + '
]').show();
+ $('*[data-group]').hide().filter('[data-group=
"' + slug + '"
]').show();
}).change();
$('button.next', $toolbar).click(function() {
}).change();
$('button.next', $toolbar).click(function() {
@@
-57,4
+57,9
@@
};
};
-})(jQuery);
\ No newline at end of file
+
+ $("#keyboard-close").click(function() {
+ $(this).parent().toggle();
+ })
+
+})(jQuery);