Skip to content
Snippets Groups Projects
Commit fd215c0f authored by Michael Hamann's avatar Michael Hamann
Browse files

Fix sample handling in toolbar in tb_format FS#2691

The previous fix in e38f3066 fixed this
bug only in tb_formatln.
parent e0d6578c
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ function initToolbar(tbid,edid,tb, allowblock){
* @author Andreas Gohr <andi@splitbrain.org>
*/
function tb_format(btn, props, edid) {
var sample = props.title || props.sample;
var sample = props.sample || props.title;
insertTags(edid,
fixtxt(props.open),
fixtxt(props.close),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment