17 lines
546 B
JavaScript
17 lines
546 B
JavaScript
/*jshint bitwise:true, curly:true, forin:false, noarg:true, noempty:true, nonew:true, undef:true, strict:false, browser:true, jquery:true */
|
|
|
|
$(document).ready(function() {
|
|
$(".shm-blotter2-toggle").click(function() {
|
|
$(".shm-blotter2").slideToggle("slow", function() {
|
|
if($(".shm-blotter2").is(":hidden")) {
|
|
$.cookie("ui-blotter2-hidden", 'true', {path: '/'});
|
|
}
|
|
else {
|
|
$.cookie("ui-blotter2-hidden", 'false', {path: '/'});
|
|
}
|
|
});
|
|
});
|
|
if($.cookie("ui-blotter2-hidden") === 'true') {
|
|
$(".shm-blotter2").hide();
|
|
}
|
|
});
|