浏览代码

Add flamegraph to list of dynamic search links (#471)

This adds flamegraph to the list of dynamic search links so that query parameters are retained when navigating to/from the flamegraph view.
Timothy Palpant 6 年前
父节点
当前提交
54271f7e09
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      internal/driver/webhtml.go

+ 1
- 1
internal/driver/webhtml.go 查看文件

853
     toptable.addEventListener('touchstart', handleTopClick);
853
     toptable.addEventListener('touchstart', handleTopClick);
854
   }
854
   }
855
 
855
 
856
-  const ids = ['topbtn', 'graphbtn', 'peek', 'list', 'disasm',
856
+  const ids = ['topbtn', 'graphbtn', 'flamegraph', 'peek', 'list', 'disasm',
857
                'focus', 'ignore', 'hide', 'show', 'show-from'];
857
                'focus', 'ignore', 'hide', 'show', 'show-from'];
858
   ids.forEach(makeSearchLinkDynamic);
858
   ids.forEach(makeSearchLinkDynamic);
859
 
859