Skip to content

Commit

Permalink
Fix Tab Num variable
Browse files Browse the repository at this point in the history
Accidently deleted the $ symbol.
  • Loading branch information
causefx committed Dec 30, 2016
1 parent 2486227 commit d2d747f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ function registration_callback($username, $email, $userdir)

}.refresh-preloader {

background: red;
background: <?=$topbartext;?>;

}.la-timer {

Expand Down Expand Up @@ -294,7 +294,14 @@ function registration_callback($username, $email, $userdir)

background-color: <?=$topbartext;?>;

}.iframe {

-webkit-overflow-scrolling: touch;

}.iframe iframe{

}

</style>

<ul id="gn-menu" class="gn-menu-main">
Expand Down Expand Up @@ -412,7 +419,7 @@ function registration_callback($username, $email, $userdir)
</ul>

<!--Content-->
<div id="content" class="content" style=" overflow:hidden">
<div id="content" class="content" style="">

<!--Load Framed Content-->

Expand Down Expand Up @@ -758,7 +765,7 @@ function registration_callback($username, $email, $userdir)


if (defaultTab){
$("#content").html('<div class="iframe active" data-content-url="'+defaultTab+'"><iframe frameborder="0" style="width:100%; height:100%;" src="'+defaultTab+'"></iframe></div>');
$("#content").html('<div class="iframe active" data-content-url="'+defaultTab+'"><iframe scrolling="auto" sandbox="allow-forms allow-same-origin allow-pointer-lock allow-scripts allow-popups allow-modals" allowfullscreen="true" webkitallowfullscreen="true" frameborder="0" style="width:100%; height:100%;" src="'+defaultTab+'"></iframe></div>');
}

$('#content').css("height", $(window).height() - 56 + "px" );
Expand All @@ -779,7 +786,7 @@ function registration_callback($username, $email, $userdir)
activeFrame.attr('src', activeFrame.attr('src'));

var refreshBox = $('#content').find('.active');
$("<div class='refresh-preloader'><div class='la-timer la-dark'><div></div></div></div>").appendTo(refreshBox).fadeIn(300);
$("<div class='refresh-preloader'><div class='la-timer la-dark'><div></div></div></div>").appendTo(refreshBox).fadeIn(10);

setTimeout(function(){

Expand All @@ -792,8 +799,6 @@ function registration_callback($username, $email, $userdir)
});

},1000);



})

Expand All @@ -820,15 +825,10 @@ function registration_callback($username, $email, $userdir)
$("li[class^='tab-item active']").attr("class", "tab-item");
$(this).attr("class", "tab-item active");






}else {
console.log(thisid + " make new div");
$("div[class^='iframe active']").attr("class", "iframe hidden");
$( '<div class="iframe active" data-content-url="'+thisid+'"><iframe frameborder="0" style="width:100%; height:100%;" src="'+thisid+'"></iframe></div>' ).appendTo( "#content" );
$( '<div class="iframe active" data-content-url="'+thisid+'"><iframe scrolling="auto" sandbox="allow-forms allow-same-origin allow-pointer-lock allow-scripts allow-popups allow-modals" allowfullscreen="true" webkitallowfullscreen="true" frameborder="0" style="width:100%; height:100%;" src="'+thisid+'"></iframe></div>' ).appendTo( "#content" );
$('#content').css("height", $(window).height() - 56 + "px" );
$("div").find(".iframe").css("height", $(window).height() - 56 + "px" );
$("li[class^='tab-item active']").attr("class", "tab-item");
Expand Down
4 changes: 2 additions & 2 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ function registration_callback($username, $email, $userdir)
if($row['user'] == "true") : $userz = "checked"; else : $userz = ""; endif;

?>
<li id="item-<?=tabNum;?>" class="list-group-item" style="position: relative; left: 0px; top: 0px;">
<li id="item-<?=$tabNum;?>" class="list-group-item" style="position: relative; left: 0px; top: 0px;">

<tab class="content-form form-inline">

Expand Down Expand Up @@ -890,7 +890,7 @@ function count() {
dataType: "json",
success: function(github) {

var currentVersion = "0.93";
var currentVersion = "0.931";
var githubVersion = github.tag_name;
var githubDescription = github.body;
var githubName = github.name;
Expand Down

0 comments on commit d2d747f

Please sign in to comment.