Skip to content

Commit

Permalink
Removing uneccessary strings
Browse files Browse the repository at this point in the history
  • Loading branch information
animeshkundu committed Dec 10, 2017
1 parent 7694dd8 commit 7dede35
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
2 changes: 0 additions & 2 deletions js/global.js
Expand Up @@ -125,8 +125,6 @@ function disableExtension() {
});
chrome.tabs.onUpdated.removeListener(sendMessage);
chrome.webRequest.onBeforeRequest.removeListener(processRequest);
// for (tabIds)
// chrome.tabs.sendMessage(tabId, {url: ""});
tabIds.clear();
}

Expand Down
4 changes: 0 additions & 4 deletions js/youtube_audio.js
@@ -1,8 +1,4 @@
var oldUrl;
var makeSetAudioURL = function(videoElement, url) {
if (oldUrl === undefined) {
oldUrl = videoElement.src;
}
if (videoElement.src != url) {
videoElement.pause();
videoElement.src = url;
Expand Down
3 changes: 1 addition & 2 deletions manifest.json
@@ -1,9 +1,8 @@
{
"name": "Youtube Audio",
"version": "0.0.2.2",
"version": "0.0.2.3",
"manifest_version": 2,
"description": "Stream only Audio on Youtube",
"offline_enabled": true,
"icons": {
"38": "img/icon38.png",
"128": "img/icon128.png"
Expand Down

0 comments on commit 7dede35

Please sign in to comment.