Skip to content

Commit

Permalink
Merge pull request #10 from ortoniKC/feat/v2.0.2
Browse files Browse the repository at this point in the history
Feat/v2.0.2
  • Loading branch information
ortoniKC committed Sep 18, 2023
2 parents 4213203 + 3565740 commit 47d148a
Show file tree
Hide file tree
Showing 5 changed files with 300 additions and 97 deletions.
15 changes: 2 additions & 13 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "LetXPath",
"short_name": "XPath finder",
"description": "XPath Finder, simple and useful, open-source project",
"description": "XPath Finder, simple and useful, open-source project by LetCode with Koushik",
"author": "Koushik Chatterjee",
"version": "2.0.1",
"version": "2.0.2",
"manifest_version": 2,
"icons": {
"16": "assets/16.png",
Expand Down Expand Up @@ -51,17 +51,6 @@
"devtools_page": "devtools.html",
"content_security_policy": "script-src 'self'; object-src 'self'",
"homepage_url": "https://www.letcode.in",
"commands": {
"_execute_browser_action": {
"suggested_key": {
"windows": "Alt+L",
"mac": "Alt+L",
"linux": "Alt+L",
"default": "Alt+L"
},
"description": "LetCode"
}
},
"browser_action": {
"default_title": "LetXPath",
"default_popup": "popup/popup.html"
Expand Down
62 changes: 0 additions & 62 deletions option/index.html

This file was deleted.

5 changes: 3 additions & 2 deletions option/option.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ $(document).ready(function () {
embedCodeSample(codeType);
setStorage({ langID: codeType });
}
if (result.customLang != undefined) {
else if (result.customLang != undefined) {
const codeType = result.customLang;
$("select").val(codeType).change();
embedCodeSample(codeType);
setStorage({ langID: codeType });
} else {
$("select").val(result.langID).change();
// $("select").val(result.langID).change();
embedCodeSample('javas');
setStorage({ langID: 'javas' });
}
// set edited values in textarea
Expand Down
Loading

0 comments on commit 47d148a

Please sign in to comment.