mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-26 12:50:31 -04:00
Moved antiscroll init; disabled it for now because of bugginess.
This commit is contained in:
parent
f52dced0ce
commit
424390ae84
2 changed files with 5 additions and 8 deletions
app
|
@ -111,11 +111,14 @@
|
|||
|
||||
<header class="header-container" id="header-container"></header>
|
||||
|
||||
<div id="page-container"></div>
|
||||
<!--
|
||||
<div class="antiscroll-wrap">
|
||||
<div class="antiscroll-inner">
|
||||
<div id="page-container"></div>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div id="modal-wrapper"></div>
|
||||
|
||||
|
@ -158,12 +161,5 @@
|
|||
(function(a){if(window.filepicker){return}var b=a.createElement("script");b.type="text/javascript";b.async=!0;b.src=("https:"===a.location.protocol?"https:":"http:")+"//api.filepicker.io/v1/filepicker.js";var c=a.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c);var d={};d._queue=[];var e="pick,pickMultiple,pickAndStore,read,write,writeUrl,export,convert,store,storeUrl,remove,stat,setKey,constructWidget,makeDropPane".split(",");var f=function(a,b){return function(){b.push([a,arguments])}};for(var g=0;g<e.length;g++){d[e[g]]=f(e[g],d._queue)}window.filepicker=d})(document);
|
||||
</script>
|
||||
<!-- end filepicker.io code -->
|
||||
<!-- begin antiscroll code -->
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('.antiscroll-wrap').antiscroll();
|
||||
});
|
||||
</script>
|
||||
<!-- end antiscroll code -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -38,7 +38,8 @@ module.exports = class RootView extends CocoView
|
|||
location.hash = ''
|
||||
location.hash = hash
|
||||
@buildLanguages()
|
||||
|
||||
#@$('.antiscroll-wrap').antiscroll() # not yet, buggy
|
||||
|
||||
afterRender: ->
|
||||
super(arguments...)
|
||||
@chooseTab(location.hash.replace('#','')) if location.hash
|
||||
|
|
Loading…
Add table
Reference in a new issue