Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
a fix to hide slider if content votet
Browse files Browse the repository at this point in the history
  • Loading branch information
talhasch committed May 26, 2018
1 parent 3e7bdfa commit 622895c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/directives/content-vote.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default () => {
scope: {
content: '<'
},
template: `<div ng-mouseover="hoverIn()" ng-mouseleave="hoverOut()"><a ng-click="" login-required required-keys="'posting'" on-login-success="loginSuccess()" if-logged-in="clicked()" popover-class="content-vote-popover" uib-popover-template="'templates/directives/content-vote-popover.html'" popover-placement="right" popover-trigger="'none'" popover-is-open="popoverIsOpen" ng-class="{'voted': voted, 'voting': voting, 'fetching': fetching}"><i class="fa fa-chevron-circle-up" ng-show="!voting"></i><i class="fa fa-spin fa-spinner fa-circle-o-notch" ng-show="voting"></i></a></div>`,
template: `<div ng-mouseover="hoverIn()" ng-mouseleave="hoverOut()"><a ng-click="" login-required required-keys="'posting'" on-login-success="loginSuccess()" if-logged-in="clicked()" popover-class="content-vote-popover" popover-enable="!voted" uib-popover-template="'templates/directives/content-vote-popover.html'" popover-placement="right" popover-trigger="'none'" popover-is-open="popoverIsOpen" ng-class="{'voted': voted, 'voting': voting, 'fetching': fetching}"><i class="fa fa-chevron-circle-up" ng-show="!voting"></i><i class="fa fa-spin fa-spinner fa-circle-o-notch" ng-show="voting"></i></a></div>`,
controller: ($scope, $rootScope, $timeout, $filter, $uibModal, steemService, steemAuthenticatedService, helperService, activeUsername) => {

$scope.fetching = false;
Expand Down

0 comments on commit 622895c

Please sign in to comment.