Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Button with 2 spans. Allows to fix ie8 bug

IE8 bug happens when button has background image
and it's pressed
  • Loading branch information...
commit efbcff3158d80b94e34247b22162ef3377750b78 1 parent dab0885
Hannes Kirsman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  _html-warrior/templates/partials/button.tpl
2  _html-warrior/templates/partials/button.tpl
View
@@ -1,5 +1,5 @@
{strip}
<{if isset($href)}a{elseif isset($tag)}{$tag}{else}button{/if} class="{if $class}{$class}{else}button{/if}{if $align=='right'} rbutton{/if}" {if (!isset($tag) || $tag=="button") && !isset($href)}type="submit"{/if} {if $click} onclick="{$click}"{/if}{if isset($href)} href="{$href}"{/if}>
- <span>{if $label_caption}{$label_caption}{else}{literal}label_caption{/literal}{/if}</span>
+ <span><span>{if $label_caption}{$label_caption}{else}{literal}label_caption{/literal}{/if}</span></span>
</{if isset($href)}a{elseif isset($tag)}{$tag}{else}button{/if}>
{/strip}
Please sign in to comment.
Something went wrong with that request. Please try again.