Skip to content

Commit

Permalink
Update and fix bug dock
Browse files Browse the repository at this point in the history
  • Loading branch information
dongmx-vn committed Jan 11, 2023
1 parent 4caeeb6 commit 8a521e2
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 117 deletions.
20 changes: 10 additions & 10 deletions tagteams/groups/vi_content_scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -2446,16 +2446,16 @@ function loadInit() {
autoLoadCode('auto_loadcode_vanbo');
});

var hashchange_oncevanbo = false;
if(hashchange_oncevanbo === false) {
hashchange_oncevanbo = true;
window.addEventListener('hashchange', () => {
// Load code van bo
isReadyBasic(() => {
autoLoadCode('auto_loadcode_vanbo');
});
}, false);
}
// var hashchange_oncevanbo = false;
// if(hashchange_oncevanbo === false) {
// hashchange_oncevanbo = true;
// window.addEventListener('hashchange', () => {
// // Load code van bo
// isReadyBasic(() => {
// autoLoadCode('auto_loadcode_vanbo');
// });
// }, false);
// }
}
}

Expand Down
112 changes: 11 additions & 101 deletions tagteams/groups/vi_panel_div.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions tagteams/groups/vi_sub.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ var vi_clearAndPrepareCRTemplate = () => {
_tdcellist.forEach((item) => {
var _heading = item.innerText.trim();
var _list = ['']
var _getvalue = searchAndReturnValue(vi_key_task_searchandreplace, _heading, 2);
var _getvalue = searchAndReturnValue(vi_key_task_searchandreplace, _heading, 1);
if(_getvalue) {
item.innerText = _getvalue;
}
Expand Down Expand Up @@ -468,15 +468,13 @@ var vi_sendFirstEmail = () => {


var vi_TagteamFocusCase = () => {
cLog(() => {console.log("CODE VAN BO LOAD HAS LOAD")});
try {
// ==== CODE - VAN BO
var ntime = 0;
var css = `
case-details:after {
content: "";
display: flex;
height: 74px;
background: #f1f3f4
.hasdock card-deck .decks {
max-height: calc(100% - 64px)
}
Expand Down Expand Up @@ -1153,6 +1151,7 @@ var vi_TagteamFocusCase = () => {
var dock_float = document.createElement('div');
dock_float.innerHTML = dock_float_html;
document.querySelector('.decks').appendChild(dock_float);
document.body.classList.add('hasdock');

const focus = (elem, index) => {
let previous = index - 1;
Expand Down

0 comments on commit 8a521e2

Please sign in to comment.