Skip to content

Commit

Permalink
Fixed2 #30
Browse files Browse the repository at this point in the history
  • Loading branch information
shundroid committed May 24, 2015
1 parent be8fcd1 commit 9857cc8
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
24 changes: 24 additions & 0 deletions editor/public/js/fullscreen.js
@@ -0,0 +1,24 @@
document.addEventListener("DOMContentLoaded", function() {
document.getElementById("burgerbutton").addEventListener("click", function() {
if ($('div.tool-box').css('display') === "none") {
showTool();
} else {
hideTool();
}
});
document.getElementById("burgerbutton").addEventListener("mousemove", function(e) {
if (e.buttons === 1) {
$('#burgerbutton').css("left", e.clientX - 25).css("top", e.clientY - 25);
}
});
});

function hideTool() {
$('div.tool-box').css("display", "none");
$('div.film-strip').css("display", "none");
}

function showTool() {
$('div.tool-box').css("display", "block");
$('div.film-strip').css("display","block");
}
4 changes: 3 additions & 1 deletion wall/lib/parapara.inc
Expand Up @@ -10,10 +10,12 @@ set_include_path(implode(PATH_SEPARATOR, array(
get_include_path()
)));

require_once("config.inc");

$additional_config = getenv('PARAPARA_ADDITIONAL_CONFIG');
if ($additional_config) {
require_once($additional_config);
}

require_once("config.inc");

?>

0 comments on commit 9857cc8

Please sign in to comment.