topbar: wildspace #639

This commit is contained in:
Sören Weber 2023-09-12 23:20:17 +02:00
parent 5d89ffcfd0
commit 6138eb1b62
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -24,7 +24,7 @@
{{- end }} {{- end }}
<div class="topbar-button {{ $class }}"> <div class="topbar-button {{ $class }}">
{{- if $isDisabled }} {{- if $isDisabled }}
<span> <span>
{{- else if $isButton }} {{- else if $isButton }}
<button{{ if $href }} onclick="{{ $href | safeJS }}"{{ end }}{{ if gt (len $type) 0 }} type="{{ $type }}"{{ end }} title="{{ $title }}"> <button{{ if $href }} onclick="{{ $href | safeJS }}"{{ end }}{{ if gt (len $type) 0 }} type="{{ $type }}"{{ end }} title="{{ $title }}">
{{- else }} {{- else }}