Merge pull request #2151 from dhardtke/csp_fixes
fix select2 csp errors / warnings
This commit is contained in:
commit
ec97c818c8
@ -1858,7 +1858,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
var container = $(document.createElement("div")).attr({
|
||||
"class": "select2-container"
|
||||
}).html([
|
||||
"<a href='javascript:void(0)' onclick='return false;' class='select2-choice' tabindex='-1'>",
|
||||
"<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>",
|
||||
" <span class='select2-chosen'> </span><abbr class='select2-search-choice-close'></abbr>",
|
||||
" <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>",
|
||||
"</a>",
|
||||
@ -2921,7 +2921,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
enabledItem = $(
|
||||
"<li class='select2-search-choice'>" +
|
||||
" <div></div>" +
|
||||
" <a href='#' onclick='return false;' class='select2-search-choice-close' tabindex='-1'></a>" +
|
||||
" <a href='#' class='select2-search-choice-close' tabindex='-1'></a>" +
|
||||
"</li>"),
|
||||
disabledItem = $(
|
||||
"<li class='select2-search-choice select2-locked'>" +
|
||||
|
Loading…
Reference in New Issue
Block a user