Skip to content

Commit

Permalink
Minor fix; Bump version to 2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
monyxie committed Apr 10, 2021
1 parent 2080666 commit 5129187
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/content_scripts/scan_region_picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Picker {
show () {
if (!this.isShown) {
this.isShown = true
document.body.style.overflow = 'hidden'
document.scrollingElement.style.overflow = 'hidden'
document.body.appendChild(this.domMask)
}
}
Expand Down Expand Up @@ -156,7 +156,7 @@ class Picker {
this.currentX = this.currentY = this.x1 = this.x2 = this.y1 = this.y2 = null
this.domRect.innerHTML = ''
this.domMask.parentElement.removeChild(this.domMask)
document.body.style.overflow = ''
document.scrollingElement.style.overflow = ''
document.removeEventListener('keydown', this.keyupHandler)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "__MSG_extension_name__",
"short_name": "__MSG_extension_short_name__",
"description": "__MSG_extension_description__",
"version": "2.4.1",
"version": "2.5",
"default_locale": "en",
"icons": {
"16": "icons/qrlite.svg",
Expand Down

0 comments on commit 5129187

Please sign in to comment.