|
@ -234,11 +234,20 @@ tag app |
|
|
@paste=handle_paste |
|
|
@paste=handle_paste |
|
|
> |
|
|
> |
|
|
<[fs:25px c:purple4 cursor:pointer]@click=toggle_settings> "..." |
|
|
<[fs:25px c:purple4 cursor:pointer]@click=toggle_settings> "..." |
|
|
if state.query.trim!.split(/\s+/).length > 1 |
|
|
let split_query = state.query.trim!.split(/\s+/) |
|
|
if loading_create |
|
|
if split_query.length > 1 |
|
|
<.create.disabled> "+ {state.query}" |
|
|
let last = split_query.pop! |
|
|
|
|
|
let joined = split_query.join " " |
|
|
|
|
|
if name_exists joined |
|
|
|
|
|
<.create.disabled> "name already exists" |
|
|
else |
|
|
else |
|
|
<.create@click=handle_click_create> "+ {state.query}" |
|
|
if loading_create |
|
|
|
|
|
<.create.disabled> |
|
|
|
|
|
<span> "+ {joined} {last}" |
|
|
|
|
|
else |
|
|
|
|
|
<.create@click=handle_click_create> |
|
|
|
|
|
<span> "+ {joined} " |
|
|
|
|
|
<span[c:purple2]> last |
|
|
|
|
|
|
|
|
<.links> |
|
|
<.links> |
|
|
for obj in state.scored_links |
|
|
for obj in state.scored_links |
|
|