hexo-theme-material icon indicating copy to clipboard operation
hexo-theme-material copied to clipboard

Uncaught TypeError: Cannot read property 'addEventListener' of null

Open TakWolf opened this issue 7 years ago • 5 comments

I certify that I have first consulted (check all with "x")

我确认我已经查看了 (使用 "x" 选择)


I'm submitting a (check one with "x")

我正在申请 (使用 "x" 选择)

  • [x] bug report | 反馈一个 bug
  • [ ] feature request | 申请添加新的特性或功能
  • [ ] support request | 请求技术支持

所有页面都会报这个错误: image 定位后在这里: image

不知道这里会影响啥,没发现页面哪里不对。

TakWolf avatar Jun 24 '17 16:06 TakWolf

Already fixed in canary branch.

neoFelhz avatar Jun 24 '17 17:06 neoFelhz

已经切换到 canary 分支仍然有报错:( 结点为:https://github.com/viosey/hexo-theme-material/commit/6e266a178cfdd4fbb8641f24091399d1c43f0435 )

image

TakWolf avatar Jun 25 '17 04:06 TakWolf

@neoFelhz yunsdk 应该是网易云跟帖的问题,先忽略这个。

报错的是上面的 addEventListener

image

TakWolf avatar Jun 25 '17 05:06 TakWolf

定位之后是这里:

image

没弄明白这个 js 是做什么用的

TakWolf avatar Jun 25 '17 05:06 TakWolf

@EYHN We may need to add ls-javascript for 163gentie.

neoFelhz avatar Jun 25 '17 05:06 neoFelhz