Skip to content

Commit 370685a

Browse files
removed unused variable (GoogleChrome#898)
1 parent ab9460e commit 370685a

File tree

1 file changed

+1
-1
lines changed
  • functional-samples/sample.optional_permissions

1 file changed

+1
-1
lines changed

functional-samples/sample.optional_permissions/newtab.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ chrome.permissions.contains({ permissions: ['topSites'] }).then((result) => {
5353
// The extension doesn't have the permissions.
5454
const button = document.createElement('button');
5555
button.innerText = 'Allow Extension to Access Top Sites';
56-
button.addEventListener('click', (event) => {
56+
button.addEventListener('click', () => {
5757
chrome.permissions.request(newPerms).then((granted) => {
5858
if (granted) {
5959
console.log('granted');

0 commit comments

Comments
 (0)