File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 1054010540 self.customInput = false;
1054110541 dataUrl = data.url;
1054210542 inputString = "";
10543+ const isTargetLink = self.bar.classList.contains("search-jumper-isTargetLink");
1054310544 let keywords = _keyWords || self.searchJumperInputKeyWords.value || getSelectStr() || self.tileInput.value;
10544- if (!keywords && !draging && !self.bar.classList.contains("search-jumper- isTargetLink") ) {
10545+ if (!keywords && !draging && !isTargetLink) {
1054510546 keywords = getKeywords();
1054610547 }
1054710548 if (keywords && !_keyWords) {
1084010841 targetLink = targetLink.replace(/%(\w{2})/g, (match, letter) => `%${letter.toUpperCase()}`);
1084110842 }
1084210843 let targetBaseUrl = targetUrl.replace(/^https?:\/\//i, "");
10844+ if (!keywords && isTargetLink) keywords = targetUrl;
1084310845 if (!keywords) keywords = (currentSite && cacheKeywords);
1084410846 try {
1084510847 if (typeof navigator.clipboard.readText !== "undefined") {
You can’t perform that action at this time.
0 commit comments