Fix #419: closeColorPicker is not defined.
Events are attached in script, so drop onclick attribute and use button to preserve interactivity.
This commit is contained in:
parent
2f32f5a6aa
commit
b59c8a0c7e
|
@ -108,8 +108,8 @@
|
|||
<div id="myuser">
|
||||
<div id="mycolorpicker">
|
||||
<div id="colorpicker"></div>
|
||||
<span id="mycolorpickersave"><a onclick="closeColorPicker()">Save</a></span>
|
||||
<span id="mycolorpickercancel"><a onclick="closeColorPicker()">Cancel</a></span>
|
||||
<button id="mycolorpickersave">Save</button>
|
||||
<button id="mycolorpickercancel">Cancel</button>
|
||||
<span id="mycolorpickerpreview" class="myswatchboxhoverable"></span>
|
||||
</div>
|
||||
<div id="myswatchbox"><div id="myswatch"></div></div>
|
||||
|
|
Loading…
Reference in New Issue