Created
June 26, 2015 18:04
-
-
Save skipjac/9b59aa1ec88c088a85fc to your computer and use it in GitHub Desktop.
hide submit request for anonymous users
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var userRole = HelpCenter.user.role; | |
if (userRole === "anonymous") { | |
$(".banners").hide(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment