Created
August 16, 2016 12:52
-
-
Save ssylvia/9fa90f0b4df66e26568ad12cd3f7438f to your computer and use it in GitHub Desktop.
This file contains 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
show: function () { | |
domStyle.set(this.likeButton, 'display', this.actionVisibilities.showVotes ? 'inline-block' : 'none'); | |
domStyle.set(this.commentButton, 'display', this.actionVisibilities.showComments ? 'inline-block' : 'none'); | |
domStyle.set(this.galleryButton, 'display', 'none'); | |
domStyle.set(this.domNode, 'display', ''); | |
if (this.actionVisibilities.showGallery) { | |
if (domClass.contains(self.gallery, "esriCTHidden")) { | |
self._showAttachments(self.item); | |
} | |
self._showPanel(self.gallery, self.galleryButton, true); | |
} | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment