You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2017/06/18 06:59:49 UTC
svn commit: r1799041 - in /comdev/reporter.apache.org/trunk/site/js:
coffee/tabs.coffee tabs.js
Author: humbedooh
Date: Sun Jun 18 06:59:49 2017
New Revision: 1799041
URL: http://svn.apache.org/viewvc?rev=1799041&view=rev
Log:
ditch the extra title
Modified:
comdev/reporter.apache.org/trunk/site/js/coffee/tabs.coffee
comdev/reporter.apache.org/trunk/site/js/tabs.js
Modified: comdev/reporter.apache.org/trunk/site/js/coffee/tabs.coffee
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/coffee/tabs.coffee?rev=1799041&r1=1799040&r2=1799041&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/coffee/tabs.coffee (original)
+++ comdev/reporter.apache.org/trunk/site/js/coffee/tabs.coffee Sun Jun 18 06:59:49 2017
@@ -16,8 +16,6 @@ loadTabs = (stab) ->
currentTab = k
history.pushState(null, null, "?#{k}")
tab = new HTML('div', {class: 'tablink tablink_selected'}, v.title)
- title = new HTML('h2', {}, v.title+":")
- main.inject(title)
else
tab = new HTML('div', {class: 'tablink', onclick: "loadTabs(" + k + ");"}, v.title)
tdiv.inject(tab)
Modified: comdev/reporter.apache.org/trunk/site/js/tabs.js
URL: http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/js/tabs.js?rev=1799041&r1=1799040&r2=1799041&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/js/tabs.js (original)
+++ comdev/reporter.apache.org/trunk/site/js/tabs.js Sun Jun 18 06:59:49 2017
@@ -1151,7 +1151,7 @@ preloadTabs = function(json, state) {
currentTab = 0;
loadTabs = function(stab) {
- var all, bread, j, k, l, len1, len2, main, pmc, ref, sel, tab, tdiv, title, v;
+ var all, bread, j, k, l, len1, len2, main, pmc, ref, sel, tab, tdiv, v;
main = new HTML('div', {
id: 'dialog'
});
@@ -1170,8 +1170,6 @@ loadTabs = function(stab) {
tab = new HTML('div', {
"class": 'tablink tablink_selected'
}, v.title);
- title = new HTML('h2', {}, v.title + ":");
- main.inject(title);
} else {
tab = new HTML('div', {
"class": 'tablink',