Commit de81db05 authored by yPhil's avatar yPhil
Browse files

Tab: Cleaner $newTabButton

parent 9203bda6
......@@ -150,16 +150,28 @@ = {
makeNewTabButton:function($tabs) {
var $newTabButton = $('<li id="newTabButton" class="translate newContentButton" data-title="Add a new group" title="Add a new group">'),
$dummyTabLink = $('<a href="#"><i class="plusButton icon-plus-1"></i></a>').bind('click', function(e) {
var $newTabButton = $('<li>')
.attr('id', 'newTabButton')
.attr('class', 'translate newContentButton')
.data('title', 'Add a new group')
.attr('title', 'Add a new group');$($tabs));
var $newTabButtonLink = $('<a>')
.attr('href', '#');
return false;
var $newTabButtonIcon = $('<a>')
.attr('class', 'plusButton icon-plus-1');
$newTabButtonLink.bind('click', function(e) {
return false;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment