#192 [kubernetes.io] version & language drop down doesn't work unless LocalCDN is fully disabled

Closed
opened 4 months ago by emlimap · 2 comments
emlimap commented 4 months ago

On Kubernetes website (https://kubernetes.io/) the version & language dropdowns in the top menu bar doesn't work until localcdn is fully disabled. Enabling Filter HTML source code doesn't make any difference.

These error messages show up in the browser console when localcdn is enabled for this website, irrespective of HTML filter toggle.

jQuery.Deferred exception: $(...).tooltip is not a function @https://kubernetes.io/js/main.min.d0adb9733f6dc65ad1a17277dd7630ba570e2da737840fe6532cc0da18b35cdf.js:1:69
l@https://kubernetes.io/js/jquery-3.3.1.min.js:2:29375
a/</c<@https://kubernetes.io/js/jquery-3.3.1.min.js:2:29677
setTimeout handler*a/<@https://kubernetes.io/js/jquery-3.3.1.min.js:2:29886
u@https://kubernetes.io/js/jquery-3.3.1.min.js:2:27457
fireWith@https://kubernetes.io/js/jquery-3.3.1.min.js:2:28202
fire@https://kubernetes.io/js/jquery-3.3.1.min.js:2:28238
u@https://kubernetes.io/js/jquery-3.3.1.min.js:2:27457
fireWith@https://kubernetes.io/js/jquery-3.3.1.min.js:2:28202
ready@https://kubernetes.io/js/jquery-3.3.1.min.js:2:31285
_@https://kubernetes.io/js/jquery-3.3.1.min.js:2:31419
EventListener.handleEvent*@https://kubernetes.io/js/jquery-3.3.1.min.js:2:31533
@https://kubernetes.io/js/jquery-3.3.1.min.js:2:220
@https://kubernetes.io/js/jquery-3.3.1.min.js:2:225
 undefined jquery-3.3.1.min.js:2:30930
 
Uncaught TypeError: $(...).tooltip is not a function
    <anonymous> https://kubernetes.io/js/main.min.d0adb9733f6dc65ad1a17277dd7630ba570e2da737840fe6532cc0da18b35cdf.js:1
    jQuery 13
main.min.d0adb9733f6dc65ad1a17277dd7630ba570e2da737840fe6532cc0da18b35cdf.js:1:69

Browser: Firefox 84.0b8
Localcdn: 2.5.10

On Kubernetes website (https://kubernetes.io/) the version & language dropdowns in the top menu bar doesn't work until localcdn is fully disabled. Enabling Filter HTML source code doesn't make any difference. These error messages show up in the browser console when localcdn is enabled for this website, irrespective of HTML filter toggle. ``` jQuery.Deferred exception: $(...).tooltip is not a function @https://kubernetes.io/js/main.min.d0adb9733f6dc65ad1a17277dd7630ba570e2da737840fe6532cc0da18b35cdf.js:1:69 l@https://kubernetes.io/js/jquery-3.3.1.min.js:2:29375 a/</c<@https://kubernetes.io/js/jquery-3.3.1.min.js:2:29677 setTimeout handler*a/<@https://kubernetes.io/js/jquery-3.3.1.min.js:2:29886 u@https://kubernetes.io/js/jquery-3.3.1.min.js:2:27457 fireWith@https://kubernetes.io/js/jquery-3.3.1.min.js:2:28202 fire@https://kubernetes.io/js/jquery-3.3.1.min.js:2:28238 u@https://kubernetes.io/js/jquery-3.3.1.min.js:2:27457 fireWith@https://kubernetes.io/js/jquery-3.3.1.min.js:2:28202 ready@https://kubernetes.io/js/jquery-3.3.1.min.js:2:31285 _@https://kubernetes.io/js/jquery-3.3.1.min.js:2:31419 EventListener.handleEvent*@https://kubernetes.io/js/jquery-3.3.1.min.js:2:31533 @https://kubernetes.io/js/jquery-3.3.1.min.js:2:220 @https://kubernetes.io/js/jquery-3.3.1.min.js:2:225 undefined jquery-3.3.1.min.js:2:30930 Uncaught TypeError: $(...).tooltip is not a function <anonymous> https://kubernetes.io/js/main.min.d0adb9733f6dc65ad1a17277dd7630ba570e2da737840fe6532cc0da18b35cdf.js:1 jQuery 13 main.min.d0adb9733f6dc65ad1a17277dd7630ba570e2da737840fe6532cc0da18b35cdf.js:1:69 ``` Browser: Firefox 84.0b8 Localcdn: 2.5.10
nobody added the
bug
label 4 months ago
nobody added this to the v2.5.11 milestone 4 months ago
nobody commented 4 months ago
Owner

Thanks for your excellent bug report 👍

The reason was that the regular expression in the HTML filter removed too many characters from the HTML source code because of missing quotation marks.

I have corrected this. An update will be released within the next one or two weeks. 😉

Thanks for your excellent bug report 👍 The reason was that the regular expression in the HTML filter removed too many characters from the HTML source code because of missing quotation marks. I have corrected this. An update will be released within the next one or two weeks. 😉
nobody referenced this issue from a commit 4 months ago
nobody closed this issue 4 months ago
nobody commented 4 months ago
Owner
[Feel free to test it](https://codeberg.org/nobody/LocalCDN/wiki#user-content-5-you-recently-changed-something-in-the-code-and-i-would-like-to-test-it-how-can-i-do-that) 😊
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.