$.fn.ready(function() {
var $listmode = $('#listmode'),
- $listentries = $("#list-entries"),
- $bagit = $('#bagit'),
- $bagitForm = $('#bagit-form');
+ $listentries = $("#list-entries");
/* ==========================================================================
Menu
$("#menu").click(function(){
$("#links").toggle();
+ if ($('#content').hasClass('opacity03')) {
+ $('#content').removeClass('opacity03');
+ }
});
/* ==========================================================================
$listmode.addClass("tablemode");
}
- /* ==========================================================================
- bag it link
- ========================================================================== */
-
- $bagit.click(function(){
- $bagitForm.toggle();
- });
-
- /* ==========================================================================
- Keyboard gestion
- ========================================================================== */
-
- $(window).keydown(function(e){
- if ( e.target.tagName.toLowerCase() !== 'input' ) {
- switch (e.keyCode) {
- // s letter
- case 83:
- $bagitForm.toggle();
- return false;
- break;
- case 27:
- $bagitForm.hide();
- break;
- }
- }
- })
-
-
});