Shorten function name to enableTabMiddleClick

This commit is contained in:
Elisée Maurer 2013-12-21 07:18:49 +01:00
parent ae42c58ada
commit 154b93c94d

View file

@ -313,7 +313,7 @@ define([
});
};
var enableCloseTabOnMiddleClick = function() {
var enableTabMiddleClick = function() {
var tabContainer = document.find(".tabs");
tabContainer.on("click", function(e) {
if (!e.target.matches(".tab")) return;
@ -332,7 +332,7 @@ define([
addTab("");
renderTabs();
enableTabDragDrop();
enableCloseTabOnMiddleClick();
enableTabMiddleClick();
reset();
};