Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Do not force specific version of widget jquery if it already exists o…
Browse files Browse the repository at this point in the history
…n page.
  • Loading branch information
serter committed Jun 14, 2016
1 parent d5eb716 commit 4b69236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/widget.js
Expand Up @@ -12,7 +12,7 @@ var url = proto + "://192.168.1.8:9000/";
var jQuery;

// load jquery if not yet available
if (window.jQuery === undefined || window.jQuery.fn.jquery !== '2.1.1') {
if (window.jQuery === undefined) {
var script_tag = document.createElement('script');
script_tag.setAttribute("type","text/javascript");
// omit protocol for ssl support
Expand Down

0 comments on commit 4b69236

Please sign in to comment.