Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Commit

Permalink
fix a small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
chunliu committed Jun 24, 2020
1 parent ae73e2d commit 89a2f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
function getFragment (fragStr) {
const str = fragStr.trim();

if (fragStr.length < 300) {
if (str.length < 300) {
// Use exact matching
return encodeURIComponent(str);
} else {
Expand Down

0 comments on commit 89a2f7f

Please sign in to comment.