Fix msg wrap and default most fields to hidden

This commit is contained in:
2022-08-11 07:22:22 +01:00
parent d1076ca2b5
commit c06c0cbe18
3 changed files with 33 additions and 18 deletions

View File

@@ -25,7 +25,29 @@ $(document).ready(function(){
var get_column_shifter_storage = function(){
var storage = localStorage.getItem(COLUMN_SHIFTER_STORAGE_ACCESOR);
if (storage === null) {
storage = {};
storage = {
"drilldown-table": {
"date": "off",
"time": "off",
"id": "off",
"num": "off",
"channel_nsfw": "off",
"channel_category": "off",
"channel_category_id": "off",
"channel_category_nsfw": "off",
"channel_id": "off",
"guild_member_count": "off",
"bot": "off",
"msg_id": "off",
"net_id": "off",
"user_id": "off",
"num_users": "off",
"num_chans": "off",
"exemption": "off",
"version_sentiment": "off",
"num": "off",
},
};
} else {
storage = JSON.parse(storage);
}