Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
budnix committed Aug 9, 2017
1 parent 8c1ad86 commit 5aeb3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/mixed.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function _injectProductInfo(key, element) {
const releaseTime = __BUILD_DAYS_SINCE_EPOCH__;
const keyGenTime = _extractTime(key);

if (keyGenTime > 45000) {
if (keyGenTime > 45000 || keyGenTime !== parseInt(keyGenTime, 10)) {
warningMessage = 'The license key provided to Handsontable Pro is invalid. Make sure you pass it correctly.';
}

Expand Down

0 comments on commit 5aeb3d1

Please sign in to comment.