forked from x/volcanos
opt search
This commit is contained in:
parent
4841116501
commit
e1b94b5efb
@ -2,3 +2,4 @@ fieldset.Search { background:#041a25bd; padding:10px; position:fixed; left:0px;
|
||||
fieldset.Search input.word { width:-webkit-fill-available; }
|
||||
fieldset.Search div.output div.content table { min-width:400px; }
|
||||
fieldset.Search div.output div.display { max-height:200px; }
|
||||
fieldset.Search div.output a { color:yellow; }
|
||||
|
@ -94,6 +94,7 @@ Volcanos("onaction", {help: "交互操作", list: [cli.CLEAR, cli.CLOSE, cli.DON
|
||||
},
|
||||
|
||||
plugin: function(event, can, index) { var line = can.list[index]
|
||||
if (event.target.tagName == "A") { return }
|
||||
if (line.ctx == "web.wiki" && line.cmd == "word") { return }
|
||||
if (can.base.isFunc(line.text)) { return can.onmotion.hide(can), line.text(event) }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user