🌐 Website Issue | Error in console #2165

Closed
opened 2020-12-25 14:44:37 +00:00 by Gusted · 0 comments
Gusted commented 2020-12-25 14:44:37 +00:00 (Migrated from github.com)

Description

Since the latest commit 21c894eef7 from #2139 by myself. A new error has introduced in the console(see screenshot). After some debugging it resulted that the i object is a proxy to jQuery. As it's currently not more used it's an empty variable and therefore can't be used. I've found 2 solutions so far to resolve this problem:

  1. Update the dependencies(bootstrap and popper) to the latest version which no longer rely on jQuery.
  2. Mock the jQuery object, so it can be used and result in no error.

Screenshots

image

<!-- READ ME FIRST: This is NOT the place to request changes to the content of the website. This is NOT the place to report issues with our services. (That is https://github.com/privacytools/services/issues/new) This is ONLY for reporting bugs or technical issues with www.privacytools.io. --> ## Description Since the latest commit https://github.com/privacytools/privacytools.io/commit/21c894eef786e34b111918f83170a3783391687f from #2139 by myself. A new error has introduced in the console(see screenshot). After some debugging it resulted that the `i` object is a proxy to jQuery. As it's currently not more used it's an empty variable and therefore can't be used. I've found 2 solutions so far to resolve this problem: 1. Update the dependencies(bootstrap and popper) to the latest version which no longer rely on jQuery. 2. Mock the jQuery object, so it can be used and result in no error. ## Screenshots ![image](https://user-images.githubusercontent.com/25481501/103137261-3eb9e480-46bf-11eb-93e1-d55397776ef6.png)
This repo is archived. You cannot comment on issues.
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: privacyguides/privacytools.io#2165
No description provided.