You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
qrcode-reader is a great plugin! ease to use!
When use data-qrr.settings.callback to set a callback function,raise some error like"Type Error: qrr.settings.callback is not a function....",I think "qrr.settings.callback(qrr.codes)" or "qrr.settings.callback(value)" (line 249 in qrcode-reader.js) can not treat as a function,so,I try to change code to "
var fn = window[qrr.settings.callback];
if (typeof (fn) === "function") {
fn(qrr.settings.multiple?qrr.codes:value);
}
",and it's run.
otherwise, It would be even better if then text "qrr-nodata" and "qrr-loading-message" (line 94/99 in qrcode-reader.js) can use localize parameters!
The text was updated successfully, but these errors were encountered:
qrcode-reader is a great plugin! ease to use!
When use data-qrr.settings.callback to set a callback function,raise some error like"Type Error: qrr.settings.callback is not a function....",I think "qrr.settings.callback(qrr.codes)" or "qrr.settings.callback(value)" (line 249 in qrcode-reader.js) can not treat as a function,so,I try to change code to "
var fn = window[qrr.settings.callback];
if (typeof (fn) === "function") {
fn(qrr.settings.multiple?qrr.codes:value);
}
",and it's run.
otherwise, It would be even better if then text "qrr-nodata" and "qrr-loading-message" (line 94/99 in qrcode-reader.js) can use localize parameters!
The text was updated successfully, but these errors were encountered: