scratch

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 83  →  ?path2? @ 84
/text.html
@@ -43,9 +43,10 @@
<li><a href="index.html">Home</a></li>
<li><a href="file.html">File</a></li>
<li class="active"><a href="#">Text</a></li>
<li><a href="draw.html">Draw</a></li>
</ul>
<div class="panel panel-default">
<div id="main-panel" class="panel panel-default">
<div class="panel-heading">
<div class="form-group">
<div class="input-group">
@@ -252,6 +253,9 @@
processData: false,
contentType: false
}).done((data) => {
// Serialize JSON to object.
data = JSON.parse(data);
$('#URL')
.val(
location.protocol
@@ -258,7 +262,7 @@
.concat("//")
.concat(window.location.hostname)
.concat("/")
.concat(data)
.concat(data.hash)
);
$('#trumbowyg').trumbowyg('enable');
}).fail(() => {
@@ -392,6 +396,11 @@
});
});
});
// Scroll to the panel.
$('html, body').animate({
scrollTop: $('#main-panel').offset().top
}, 'slow');
});
</script>
<!-- Jumbotron parallax effect -->