Fix plugin selectors after angular upgrade
The recent angular update changed the format of the hash keys. They're now in the format 'object:123' (etc), which isn't a valid CSS class name any more, but we used the $$hashKey as such. I used this opportunity to introduce a bit of abstraction there as well
This commit is contained in:
parent
68adfb6cc2
commit
bc037720bd
3 changed files with 11 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
Hide {{ ::plugin.name }}
|
||||
</button>
|
||||
|
||||
<div ng-bind-html="displayedContent" class="embed" ng-class="::('embed_' + plugin.$$hashKey)"></div>
|
||||
<div ng-bind-html="displayedContent" class="embed" ng-class="::plugin.className"></div>
|
||||
</div>
|
||||
|
||||
<div ng-hide="plugin.visible">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue