Browse Source

Wrong number of arguments for the ul tag...it may be wrong for other tags as well - thanks @Antes for find the bug

Signed-off-by: emanuele <[email protected]>
emanuele 10 years ago
parent
commit
2fe65c0ad4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Themes/default/scripts/jquery.sceditor.smf.js

+ 1 - 1
Themes/default/scripts/jquery.sceditor.smf.js

@@ -417,7 +417,7 @@ $.sceditorBBCodePlugin.bbcode.set(
 		breakStart: true,
 		isInline: false,
 		html: '<ul>{0}</ul>',
-		format: function(element, attrs, content) {
+		format: function(element, content) {
 			if ($(element[0]).css('list-style-type') == 'disc')
 				return '[list]' + content + '[/list]';
 			else