Removed new incomplete JS Challenges and moved to OOPF branch.

This commit is contained in:
benmcmahon100
2015-08-11 15:39:07 +01:00
parent 44ac9bc8cb
commit 9df99eb635
4 changed files with 289 additions and 6 deletions

View File

@@ -312,7 +312,9 @@ $(document).ready(function() {
$('#story-submit').on('click', storySubmitButtonHandler);
if($('.editorScrollDiv').html() !== 'undefined'){
$('.editorScrollDiv').css("height",$(window).height()-($('.navbar').height()+$('.footer').height()+100) + "px");
function truncateEditor(){$('.editorScrollDiv').css("height",$(window).height()-($('.navbar').height()+$('.footer').height()+100) + "px");}
truncateEditor();
$(window).resize(function(){truncateEditor();});
}
//fakeiphone positioning hotfix