Skip to content

Commit

Permalink
Add class to ignore clicks on disabled toolbar 'buttons' in bootstrap…
Browse files Browse the repository at this point in the history
…-wysihtml5
  • Loading branch information
jywsn committed Sep 3, 2015
1 parent a34119b commit ad35ba9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions static/bootstrap-wysihtml5/bootstrap-wysihtml5-0.0.2.css
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,9 @@ ul.wysihtml5-toolbar div[data-wysihtml5-command-value="blue"] {
ul.wysihtml5-toolbar div[data-wysihtml5-command-value="orange"] {
background: orange !important;
}

/* Ignore clicks on disabled toolbar 'buttons' */

ul.wysihtml5-toolbar .btn.disabled {
pointer-events: none;
}

0 comments on commit ad35ba9

Please sign in to comment.