Skip to content

Commit 4d98a0c

Browse files
authored
Fixes (#20)
1 parent 179049c commit 4d98a0c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"manifest_version": 3,
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"name": "Django Files",
55
"description": "Django Files Web Extension designed to work with github.com/django-files/django-files.",
66
"homepage_url": "https://github.com/django-files/web-extension",

src/js/service-worker.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ function onChanged(changes, namespace) {
116116
* @function createContextMenus
117117
*/
118118
function createContextMenus() {
119-
// console.log('createContextMenus')
119+
console.log('createContextMenus')
120+
chrome.contextMenus.removeAll()
120121
const ctx = ['link', 'image', 'video', 'audio']
121122
const contexts = [
122123
[['link'], 'short', 'normal', 'Create Short URL'],

0 commit comments

Comments
 (0)