fixed hakiri xss warnings.
Fixed Hakiri XSS Warnings.
This commit is contained in:
parent
d95a786d9f
commit
fc48769abb
3 changed files with 5 additions and 5 deletions
|
|
@ -82,7 +82,7 @@
|
|||
|
||||
- content_for :script_head do
|
||||
:javascript
|
||||
var triangle_tcs = tinycolor("#{@conference.color}").monochromatic();
|
||||
var triangle_tcs = tinycolor("#{h(@conference.color)}").monochromatic();
|
||||
var triangle_colors = triangle_tcs.map(function(t) { return t.toHexString(); });
|
||||
$(function () {
|
||||
$(document).ready(function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue