Skip to content

Commit

Permalink
Added Github Link to Code
Browse files Browse the repository at this point in the history
  • Loading branch information
Quadrubo committed May 12, 2021
1 parent dbeb772 commit ddaa9ed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions extension/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ <h3>Options</h3>
<br>
<button id="apply">Save!</button>
<p id="save_text" style="color: green;"></p>
<p>Not sure what to enter? Check out the <a href="https://github.com/Quadrubo/emby-sync-watch#help">Help</a> Section on my Github :)</p>
</body>
<script src="options.js"></script>
</html>
2 changes: 1 addition & 1 deletion extension/popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h3>Emby Sync Watch</h3>
<p id="error_port", style="color: red;"></p>
<button id="connect">Connect to Server!</button>
<button id="options">Options</button>
<button id="help">Help</button>
<button id="help">Help (Github)</button>
</div>
<script src="popup.js"></script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions extension/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ document.getElementById("options").addEventListener('click', function(e){
});

document.getElementById("help").addEventListener('click', function(e){
chrome.tabs.create({url: ""}, function (tab) {
console.log("options page opened");
chrome.tabs.create({url: "https://github.com/Quadrubo/emby-sync-watch#readme"}, function (tab) {
console.log("Github Readme page opened");
});
});

0 comments on commit ddaa9ed

Please sign in to comment.