mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Modularized more functions, tiles on start page now clickable
This commit is contained in:
@ -71,10 +71,9 @@ function onTabUpdated(tabId, changeInfo, tab) {
|
||||
|
||||
function onTabRemoved(tabId,removeInfo) {
|
||||
|
||||
console.log(tabId + " closed")
|
||||
if (tabManagers.hasOwnProperty(tabId)) {
|
||||
page = tabManagers[tabId].page
|
||||
console.log("this tab was " + page + ", now removing manager")
|
||||
console.log("closed tab was " + page + ", now removing manager")
|
||||
tabManagers[tabId].stopPlayback("","") //in case we want to scrobble the playing track
|
||||
delete tabManagers[tabId]
|
||||
}
|
||||
|
Reference in New Issue
Block a user