Skip to content

Commit

Permalink
Merge pull request #936 from uktrade/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
rafa-garcia authored Sep 4, 2024
2 parents 8c130de + cafd7ac commit f0144dc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
for(var i=0; i<data.length; ++i) {
// Note: Only need to set a tabindex attribute to allow focus.
// The value is not important here.
$list.append('<li role="option" data-value="' + data[i]['value'] + '" tabindex="-1">' + data[i]['text'] + '</li>');
$list.append($('<li role="option" data-value="' + data[i]['value'] + '" tabindex="-1"></li>').text(data[i]['text']));
}
}
else {
Expand Down Expand Up @@ -414,7 +414,7 @@
var $selected = this._private.$select.find(":selected");
$display.empty();
$selected.each(function() {
$display.append('<li>' + $(this).text() + '</li>');
$display.append($('<li></li>').text(this.text));
});
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<head>
<meta charset="utf-8">
<title>jQuery Adapter &mdash; CKEditor Sample</title>
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
<script src="../../ckeditor.js"></script>
<script src="../../adapters/jquery.js"></script>
<link href="sample.css" rel="stylesheet">
Expand Down

0 comments on commit f0144dc

Please sign in to comment.