goldendict-ng
goldendict-ng copied to clipboard
Dictionary js is loaded twice
起因:剑桥词典的 more example 打不开。 调试后发现目录下js加载了两次,导致click事件重复加载。一次响应展开了 example,第二次响应又关闭了。 我先自己修改下js,防止多次加载。
Bot detected the issue body's language is not English, translate it automatically.
Cause: Cambridge Dictionary's more example cannot be opened. After debugging, it was found that the js in the directory was loaded twice, causing the click event to be loaded repeatedly. One response expanded example, and the second response closed it. I first modify the js myself to prevent multiple loadings.
原则上不会加载2次,是不是有其他词典的影响
Bot detected the issue body's language is not English, translate it automatically.
In principle, it will not be loaded twice. Is it affected by other dictionaries?