Skip to content

Commit

Permalink
Fixed the setup issue again
Browse files Browse the repository at this point in the history
Sorry.
  • Loading branch information
causefx committed Dec 29, 2016
1 parent 4a4a551 commit 29c7938
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,8 +670,6 @@ function registration_callback($username, $email, $userdir)

$(document).ready(function(){

//defaultTab = $("li[class^='tab-item active']").attr("id").substr(0, $("li[class^='tab-item active']").attr("id").length-1);

defaultTab = $("li[class^='tab-item active']").attr("id");

if (defaultTab){
Expand All @@ -680,17 +678,19 @@ function registration_callback($username, $email, $userdir)

}else{

defaultTab = $("li[class^='tab-item']").attr("id");

}

if (defaultTab){
defaultTabNone = $("li[class^='tab-item']").attr("id");

$("li[class^='tab-item']").first().attr("class", "tab-item active");
defaultTab = defaultTab.substr(0, defaultTab.length-1);
if (defaultTabNone){

$("li[class^='tab-item']").first().attr("class", "tab-item active");
defaultTab = defaultTabNone.substr(0, defaultTabNone.length-1);

}

}



if (defaultTab){
$("#content").html('<div class="iframe active" data-content-url="'+defaultTab+'"><iframe frameborder="0" style="width:100%; height:100%;" src="'+defaultTab+'"></iframe></div>');
}
Expand Down
2 changes: 1 addition & 1 deletion settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ function count() {
dataType: "json",
success: function(github) {

var currentVersion = "0.91";
var currentVersion = "0.92";
var githubVersion = github.tag_name;
var githubDescription = github.body;
var githubName = github.name;
Expand Down

0 comments on commit 29c7938

Please sign in to comment.