1. Luke Plant
  2. semanticeditor

Commits

Luke Plant  committed 0ded6b5

GUI tweaks for structure list

  • Participants
  • Parent commits 7854c39
  • Branches default

Comments (0)

Files changed (1)

File semanticeditor/media/semanticeditor/javascript/wymeditor/plugins/semantic/wymeditor.semantic.js

View file
     jQuery.each(this.active_heading_list, function(i, item) {
 		    // item[0] is the heading level,
 		    // item[1] is the heading name
-		    var spaces = (new Array((item[0]-1)*2)).join(" ");
-		    self.headingscontrol.append("<option value='" + i.toString() + "'>" + spaces + item[2].toUpperCase() + ": " + escapeHtml(item[1]) + "</option>");
+		    var spaces = (new Array((item[0]-1)*3)).join("&nbsp;");
+		    self.headingscontrol.append("<option value='" + i.toString() + "'>" + spaces + item[2].toLowerCase() + ": " + escapeHtml(item[1]) + "</option>");
     });
 };