diff --git a/static/js/licenseDialog.js b/static/js/licenseDialog.js index f9c8bf75..3a5dcd45 100644 --- a/static/js/licenseDialog.js +++ b/static/js/licenseDialog.js @@ -18,10 +18,10 @@ pandora.ui.licenseDialog = function() { content: Ox._( 'This installation of pan.do/ra is unlicensed. ' + 'Please contact your vendor for more information on ' - + 'how to acquire a license, or renew an expired one.' + + 'how to acquire a license or renew an expired one.' ), keys: {enter: 'close', escape: 'close'}, title: Ox._('License') }); - + return that; }; diff --git a/static/js/utils.js b/static/js/utils.js index 247dbea0..7a82a936 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -1955,7 +1955,7 @@ pandora.isEmbedURL = function(url) { }; pandora.isLicensed = function() { - return pandora.site.license && pandora.site.license < +new Date(); + return !pandora.site.license || pandora.site.license > +new Date(); }; pandora.isPrintURL = function(url) {