mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying some changes for fb canvas
This commit is contained in:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
8
public/dist/main.min.js
vendored
8
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -383,7 +383,7 @@ function initfp(){
|
|||||||
|
|
||||||
channel_list = $("#channel-list-container").html();
|
channel_list = $("#channel-list-container").html();
|
||||||
|
|
||||||
share_link_modifier_frontpage();
|
if(window.location.hostname != "fb.zoff.me") share_link_modifier_frontpage();
|
||||||
|
|
||||||
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
|
|||||||
@@ -58,8 +58,6 @@ if(localStorage.debug === undefined){
|
|||||||
localStorage.debug = debug;
|
localStorage.debug = debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(window.location);
|
|
||||||
|
|
||||||
var image_timeout;
|
var image_timeout;
|
||||||
var result_html;
|
var result_html;
|
||||||
var empty_results_html;
|
var empty_results_html;
|
||||||
@@ -319,7 +317,7 @@ function init(){
|
|||||||
onepage_load();
|
onepage_load();
|
||||||
};
|
};
|
||||||
|
|
||||||
share_link_modifier_channel();
|
if(window.location.hostname != "fb.zoff.me") share_link_modifier_channel();
|
||||||
|
|
||||||
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
if(window.location.hostname == "zoff.me") add = "https://zoff.me";
|
||||||
else add = window.location.hostname;
|
else add = window.location.hostname;
|
||||||
|
|||||||
@@ -280,6 +280,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<?php include("public/php/footer.php"); ?>
|
<?php
|
||||||
|
$subdomain = array_shift((explode(".",$_SERVER['HTTP_HOST'])));
|
||||||
|
if($subdomain == "fb"){}
|
||||||
|
else {
|
||||||
|
include("public/php/footer.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -166,6 +166,12 @@ if(isset($_GET['chan'])){
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<?php include("public/php/footer.php"); ?>
|
<?php
|
||||||
|
$subdomain = array_shift((explode(".",$_SERVER['HTTP_HOST'])));
|
||||||
|
if($subdomain == "fb"){}
|
||||||
|
else {
|
||||||
|
include("public/php/footer.php");
|
||||||
|
}
|
||||||
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user