removed leftover {{debug}}

pull/24/head
kay.one 12 years ago
parent 272cc93bd2
commit 4318b66a6e

@ -20,5 +20,4 @@
<div class="row">
<div class="x-folder-name-match-results folder-name-matches"/>
</div>
</div>

@ -4,5 +4,3 @@
{{/each}}
<option value="addNew">Add a diffrent path</option>
</select>
{{debug}}

@ -2,8 +2,7 @@
<div class="row">
<div class="span2">
<a href="{{traktUrl}}" target="_blank">
<img class="add-series-poster" src="{{remotePoster}}"
{{defaultImg}}>
<img class="add-series-poster" src="{{remotePoster}}" {{defaultImg}}>
</a>
</div>
<div class="span9">
@ -29,4 +28,3 @@
</div>
</div>
</div>
{{debug}}

@ -1,2 +1 @@
<a href="{{route}}">{{title}}</a>
{{debug}}

@ -1,4 +1,4 @@
'use strict';
'use strict';
define(
[
'backbone',

@ -5,19 +5,21 @@ define(
], function () {
$(document).ready(function () {
var _window = $(window);
var _scrollButton = $('#scroll-up');
$(window).scroll(function () {
if ($(this).scrollTop() > 100) {
$('#scroll-up').fadeIn();
if (_window.scrollTop() > 100) {
_scrollButton.fadeIn();
}
else {
$('#scroll-up').fadeOut();
_scrollButton.fadeOut();
}
});
$('#scroll-up').click(function () {
_scrollButton.click(function () {
$("html, body").animate({ scrollTop: 0 }, 600);
return false;
});
});
});

Loading…
Cancel
Save