mirror of
https://github.com/FairwindsOps/polaris.git
synced 2026-05-15 13:47:41 +00:00
fix expand toggling
This commit is contained in:
@@ -9,9 +9,7 @@ if (!Object.values) {
|
||||
|
||||
$(function () {
|
||||
$('.card .resource-info .name').on('click', function (e) {
|
||||
console.log('clicked', arguments)
|
||||
console.log('parent', $(e.srcElement).parent('.resource-info'));
|
||||
$(e.srcElement).parents('.resource-info').toggleClass('expanded');
|
||||
$(this).parents('.resource-info').toggleClass('expanded');
|
||||
});
|
||||
|
||||
var expandMatch = window.location.search.match(/expand=(\w+)(\W|$)/);
|
||||
|
||||
Reference in New Issue
Block a user