Skip to content

Commit

Permalink
Merge pull request WWBN#3099 from ronaldod/master
Browse files Browse the repository at this point in the history
Cosmetic changes to the theater plugin
  • Loading branch information
DanielnetoDotCom committed May 19, 2020
2 parents 01e0995 + ddf9954 commit eb371c0
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion plugin/TheaterButton/TheaterButton.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function getUUID() {
}

public function getPluginVersion() {
return "1.0";
return "1.1";
}

public function getEmptyDataObject() {
Expand Down
4 changes: 3 additions & 1 deletion plugin/TheaterButton/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@ function toogleEC(t) {
path: '/',
expires: 365
});
t.controlText('Default view');
} else {
compress(t);
Cookies.set('compress', true, {
path: '/',
expires: 365
});
t.controlText('Theater mode');
}
}
}
Expand All @@ -85,4 +87,4 @@ $(document).ready(function () {
oldYouTubeMenuIsOpened = youTubeMenuIsOpened;
fixCompressSize();
}, 1000);
});
});
26 changes: 13 additions & 13 deletions plugin/TheaterButton/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit eb371c0

Please sign in to comment.