morpherltd / russiangram-chrome-extension

0 stars 3 forks source link

Alt-DblClick not working #7

Closed bzaar closed 2 years ago

bzaar commented 2 years ago

This is where it adds the dblclick event listener which is supposed to send a request to russiangram.com, but fails with this error:

bootstrap.min.js:6 Uncaught TypeError: s.createPopper is not a function
    at jt.show (bootstrap.min.js:6)
    at HTMLSpanElement.<anonymous> (bootstrap.min.js:6)
    at Function.each (jquery.min.js:2)
    at n.fn.init.each (jquery.min.js:2)
    at n.fn.init.jQueryInterface [as popover] (bootstrap.min.js:6)
    at showPopup (content.js:63)
    at content.js:105
    at Object.success (content.js:120)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
bzaar commented 2 years ago

I have fixed the above error only to hit the next roadblock:

Uncaught TypeError: Cannot use 'in' operator to search for 'display' in undefined
    at Fa (jquery.min.js:3)
    at Function.css (jquery.min.js:3)
    at jquery.min.js:3
    at n.access (jquery.min.js:2)
    at n.fn.init.css (jquery.min.js:3)
    at m.T.show (bootstrap.bundle.min.js:6)
    at Element.<anonymous> (bootstrap.bundle.min.js:6)
    at Function.each (jquery.min.js:2)
    at n.fn.init.each (jquery.min.js:2)
    at n.fn.init.m._jQueryInterface [as popover] (bootstrap.bundle.min.js:6)
Fa @ jquery.min.js:3
css @ jquery.min.js:3
(anonymous) @ jquery.min.js:3
n.access @ jquery.min.js:2
css @ jquery.min.js:3
T.show @ bootstrap.bundle.min.js:6
(anonymous) @ bootstrap.bundle.min.js:6
each @ jquery.min.js:2
each @ jquery.min.js:2
m._jQueryInterface @ bootstrap.bundle.min.js:6
showPopup @ content.js:64
(anonymous) @ content.js:106
success @ content.js:121
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
x @ jquery.min.js:4
(anonymous) @ jquery.min.js:4
load (async)
send @ jquery.min.js:4
ajax @ jquery.min.js:4
loadPopupContent @ content.js:112
getPopupInfo @ content.js:32
onDoubleClick @ content.js:100
(anonymous) @ content.js:132
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3

I've no idea how to fix it.

bzaar commented 2 years ago

It does send the request and get a response though. The exception occurs when it tries to display the popup.