Skip to content

Commit 04ea6a5

Browse files
committed
Support 32 chars in API key field, check proper index on multi.js
1 parent a2830ec commit 04ea6a5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

resources/ext/js/multi.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function loadShare(share) {
4848
function loadArgs() {
4949
var root = window.location.href;
5050
var start = root.indexOf("?");
51-
if (start == 0) {
51+
if (start <= 0) {
5252
return;
5353
}
5454

resources/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ <h3>SELECT BARCODE TYPE</h3>
6363
<br /> <input type="checkbox" id="option-trim-after" onchange="optionsChange()"
6464
checked />&nbsp;Trim&nbsp;After
6565
<br /><span>Key</span>&nbsp;<input type="password" id="option-api-key" size="12"
66-
maxlength="12" onchange="optionsChange()" />
66+
maxlength="32" onchange="optionsChange()" />
6767
</div>
6868

6969
<div>

0 commit comments

Comments
 (0)