forked from Cavemanon/cavepaintings
convert blotter to use ui-* and shm-*
This commit is contained in:
@@ -1,16 +1,15 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#blotter2-toggle").click(function() {
|
||||
$("#blotter2").slideToggle("slow", function() {
|
||||
if($("#blotter2").is(":hidden")) {
|
||||
$.cookie("blotter2-hidden", 'true', {path: '/'});
|
||||
$(".shm-blotter2-toggle").click(function() {
|
||||
$(".shm-blotter2").slideToggle("slow", function() {
|
||||
if($(".shm-blotter2").is(":hidden")) {
|
||||
$.cookie("ui-blotter2-hidden", 'true', {path: '/'});
|
||||
}
|
||||
else {
|
||||
$.cookie("blotter2-hidden", 'false', {path: '/'});
|
||||
$.cookie("ui-blotter2-hidden", 'false', {path: '/'});
|
||||
}
|
||||
});
|
||||
});
|
||||
if($.cookie("blotter2-hidden") == 'true') {
|
||||
$("#blotter2").hide();
|
||||
if($.cookie("ui-blotter2-hidden") == 'true') {
|
||||
$(".shm-blotter2").hide();
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user