Skip to content

Conversation

@jason-ellis
Copy link
Contributor

Load jQuery 1.4.2 and toolbar plugin, then define new jQuery global (jqWayback) and relinquish control of $ global to prevent interference with archived page jQuery.

Fixes #356

@ldko
Copy link
Member

ldko commented Sep 15, 2017

We are seeking comments on this from any OpenWayback users who have an opinion on retaining the scrollbar added to the toolbar in #341 (which requires jQuery). This PR should prevent jQuery conflicts with the toolbar and archived page content. An alternative to this PR is reverting the toolbar back to what it was without the scrollbar, meaning jQuery will not be loaded by the toolbar.

I have tried the fix in this PR, and it worked for me to fix an issue where the 1.4.2 version loaded by the Toolbar was preventing something in an archived page working because it needed 1.7.2 version of jQuery.

By the way @jason-ellis is a programmer for User Interfaces at UNT Libraries.

Copy link
Member

@MohammedElsayyed MohammedElsayyed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix works fine in BA cluster.
Thanks!

@ldko ldko merged commit 21261c9 into iipc:master Sep 25, 2017
ldko added a commit that referenced this pull request Sep 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants