Skip to content

Commit

Permalink
feat: Delete the fix for the official website style issue, because th…
Browse files Browse the repository at this point in the history
…e issue has been fixed by the official

Change-Id: I5cb1b92e711e312c67ba9bc84ded364bb9bca51e
  • Loading branch information
Ezra-Chan committed May 5, 2023
1 parent df95cc5 commit c09e071
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions KeepChatGPT.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,14 +673,6 @@ nav {
}).catch(e => console.log(e));
}

const tempFixOpenAI = function() {
const account = $('button[id^="headlessui-menu"] > .grow', top.document);
if (account && !account.classList.contains('truncate')) {
account.classList.add('text-ellipsis', 'truncate');
account.style.maxWidth = '10.3rem';
}
};

const cloneChat = function(action) {
if (action === true) {
$('body').addEventListener('click', cloneChat.listenClick);
Expand Down Expand Up @@ -742,7 +734,6 @@ nav {
if ($(symbol1_selector) || $(symbol2_selector)) {
loadKCG();
setIfr();
tempFixOpenAI();
cleanlyHome();
}
};
Expand Down

0 comments on commit c09e071

Please sign in to comment.