Skip to content

Commit

Permalink
Core: Allow urls in display option. See #555
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Apr 10, 2018
1 parent 68b33f8 commit 7aaf207
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/jquery.keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -1934,7 +1934,8 @@ http://www.opensource.org/licenses/mit-license.php

base.processKeys = function (name) {
var tmp,
parts = name.split(':'),
// Don't split colons followed by //, e.g. https://; Fixes #555
parts = name.split(/:(?!\/\/)/),
data = {
name: null,
map: '',
Expand Down

0 comments on commit 7aaf207

Please sign in to comment.