mirror of
https://github.com/liriliri/eruda.git
synced 2026-03-20 09:38:37 +08:00
Dev: Reduce json viewer click area
This commit is contained in:
@@ -48,11 +48,11 @@ export default class JsonViewer
|
||||
$this.find('ul').html(jsonToHtml(map[circularId], map, false));
|
||||
$this.rmAttr('data-object-id');
|
||||
}
|
||||
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
if (!$firstSpan.hasClass('eruda-expanded')) return;
|
||||
|
||||
e.stopImmediatePropagation();
|
||||
|
||||
let $ul = $this.find('ul').eq(0);
|
||||
if ($firstSpan.hasClass('eruda-collapsed'))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user