restore the <menu> tag for the toolbar
authorKevin Dangoor <kdangoor@mozilla.com>
Fri, 02 Jul 2010 11:47:31 -0400
changeset 1999 a0e10a9cc64a0d4ac87f34f024c86e9ab4fae8bf
parent 1998 4a80c9b7bab4232d9d8f13225c20bc3c122bd278
child 2000 36e71da17a7c7d623c4043a0690c60e5c350dd64
push id897
push userkdangoor@mozilla.com
push dateFri, 02 Jul 2010 15:47:35 +0000
restore the <menu> tag for the toolbar
plugins/supported/toolbar/index.js
--- a/plugins/supported/toolbar/index.js
+++ b/plugins/supported/toolbar/index.js
@@ -36,17 +36,17 @@
  * ***** END LICENSE BLOCK ***** */
 
 var Event = require('events').Event;
 var catalog = require('bespin:plugins').catalog;
 
 var discoveredNewToolbarItem = new Event();
 
 function ToolbarView() {
-    var elem = document.createElement("div");
+    var elem = document.createElement("menu");
     elem.setAttribute('class', "bespin-toolbar");
     elem.setAttribute('type', "toolbar");
     this.element = elem;
 
     this._items = [];
 
     var extensions = catalog.getExtensions('toolbaritem');
     extensions.forEach(this._discoveredNewToolbarItem.bind(this));