Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / content / browser / resources / media / tab_view.js
index 6fc8d73..274336e 100644 (file)
@@ -50,9 +50,9 @@ var TabView = (function() {
       if (this.tabElements_[id])
         throw 'Tab already exists: ' + id;
 
-      var head = document.createElement('div');
+      var head = document.createElement('span');
       head.className = this.TAB_HEAD_CLASS_;
-      head.textContent = title + ' [' + id + ']';
+      head.textContent = title;
       head.title = title;
       this.headBar_.appendChild(head);
       head.addEventListener('click', this.switchTab_.bind(this, id));