Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed initial view

  • Loading branch information...
commit 1509704183897850971bf626c98317a6a745f5bd 1 parent 818fc18
@Randgalt Randgalt authored
Showing with 1 addition and 15 deletions.
  1. +1 −15 js/nf.js
View
16 js/nf.js
@@ -382,27 +382,13 @@ function buildTabs()
$('#sub-header').html(content);
}
-function getTabIndex(which)
-{
- var index = null;
- for ( var i = 0; i < tabs.length; ++i )
- {
- if ( which && (which.match(tabs[i].code + '.*')) )
- {
- index = i;
- break;
- }
- }
- return index ? index : 0;
-}
-
function getViewParam()
{
if ( location.hash )
{
return location.hash.substring(1);
}
- return $.urlParam('view');
+ return tabs[0].code;
}
function refineBlogHash(hash)
Please sign in to comment.
Something went wrong with that request. Please try again.