forked from Cavemanon/cavepaintings
split out data
This commit is contained in:
16
contrib/blotter/script.js
Normal file
16
contrib/blotter/script.js
Normal file
@ -0,0 +1,16 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#blotter2-toggle").click(function() {
|
||||
$("#blotter2").slideToggle("slow", function() {
|
||||
if($("#blotter2").is(":hidden")) {
|
||||
$.cookie("blotter2-hidden", 'true', {path: '/'});
|
||||
}
|
||||
else {
|
||||
$.cookie("blotter2-hidden", 'false', {path: '/'});
|
||||
}
|
||||
});
|
||||
});
|
||||
if($.cookie("blotter2-hidden") == 'true') {
|
||||
$("#blotter2").hide();
|
||||
}
|
||||
});
|
Reference in New Issue
Block a user