1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

removed leftover {{debug}}

This commit is contained in:
kay.one 2013-06-24 23:27:09 -07:00
parent 272cc93bd2
commit 4318b66a6e
6 changed files with 9 additions and 13 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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