Commit 7497dff9 authored by Akikonata's avatar Akikonata

fixed icon bug

parent 6d8c0fcd
......@@ -60,11 +60,7 @@
$w.on("click", "li", function () {
var $this = $(this);
$this.siblings().removeClass("active");
$this.toggleClass("active");
var val = $this.val();
if (!$this.hasClass("active")) {
val = null;
}
var type = $this.attr("type");
km.execCommand(type, val);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment