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