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

Commit

Permalink
Use Boolean instead of !!
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Searle committed Oct 4, 2018
1 parent e017b4d commit e21186a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascripts/utils.js
Expand Up @@ -12,7 +12,7 @@ exports.emptyLivefyreActionQueue = function () {
};

exports.isLivefyreActionQueuePresent = function () {
return !!oCommentUtilities.storageWrapper.localStorage.getItem(QUEUE_KEY);
return Boolean(oCommentUtilities.storageWrapper.localStorage.getItem(QUEUE_KEY));
};

/**
Expand Down

0 comments on commit e21186a

Please sign in to comment.