Skip to content

Commit

Permalink
Fixed site tree number badge selector in JS
Browse files Browse the repository at this point in the history
  • Loading branch information
colintucker committed May 21, 2017
1 parent 5b7cb68 commit 013dbc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/client/dist/js/bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/client/src/entwine/NumberBadges.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $.entwine('silverware.numberbadges', function($) {

var id = '#' + this.attr('id');

var selector = id + '.status-number-badge a span.jstree-pageicon::before';
var selector = id + '.status-number-badge > a span.jstree-pageicon::before';
var content = 'content: "' + (value > 0 ? value : '') + '";';

$('head').append('<style type="text/css">' + selector + ' { ' + content + ' } </style>');
Expand Down

0 comments on commit 013dbc5

Please sign in to comment.