##// END OF EJS Templates
Make sure DOM element ids start with alphabetic characters, not numeric.
Jonathan Frederic -
Show More
@@ -21,7 +21,8 b' define(["notebook/js/widget"], function(widget_manager){'
21 21 var AccordionView = IPython.WidgetView.extend({
22 22
23 23 render: function(){
24 this.$el = $('<div />', {id: IPython.utils.uuid()})
24 var guid = 'accordion' + IPython.utils.uuid();
25 this.$el = $('<div />', {id: guid})
25 26 .addClass('accordion');
26 27 this._ensureElement();
27 28 this.containers = [];
@@ -103,7 +104,7 b' define(["notebook/js/widget"], function(widget_manager){'
103 104 var TabView = IPython.WidgetView.extend({
104 105
105 106 render: function(){
106 var uuid = IPython.utils.uuid();
107 var uuid = 'tabs'+IPython.utils.uuid();
107 108 var that = this;
108 109 this.$tabs = $('<div />', {id: uuid})
109 110 .addClass('nav')
General Comments 0
You need to be logged in to leave comments. Login now