Skip to content

Commit 134b258

Browse files
Solomon KurzSolomon Kurz
authored andcommitted
bookdown 0.1.1
1 parent 1bcfefd commit 134b258

32 files changed

+4
-4
lines changed
45 KB
Loading
100 KB
Loading
108 KB
Loading
-200 Bytes
Loading
14 Bytes
Loading

_book/libs/gitbook-2.6.7/css/plugin-bookdown.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ div.theorem, div.lemma, div.corollary, div.proposition, div.conjecture {
9090
span.theorem, span.lemma, span.corollary, span.proposition, span.conjecture {
9191
font-style: normal;
9292
}
93-
div.proof:after {
93+
div.proof>*:last-child:after {
9494
content: "\25a2";
9595
float: right;
9696
}

_book/libs/gitbook-2.6.7/js/app.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

_book/libs/gitbook-2.6.7/js/plugin-bookdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ gitbook.require(["gitbook", "lodash", "jQuery"], function(gitbook, _, $) {
147147
if (typeof pos !== 'undefined') summary.scrollTop(pos);
148148

149149
// highlight the TOC item that has same text as the heading in view as scrolling
150-
if (toc && toc.scroll_highlight !== false) (function() {
150+
if (toc && toc.scroll_highlight !== false && li.length > 0) (function() {
151151
// scroll the current TOC item into viewport
152152
var ht = $(window).height(), rect = li[0].getBoundingClientRect();
153153
if (rect.top >= ht || rect.top <= 0 || rect.bottom <= 0) {

_book/libs/gitbook-2.6.7/js/plugin-sharing.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ gitbook.require(["gitbook", "lodash", "jQuery"], function(gitbook, _, $) {
2323
'icon': 'fa fa-twitter',
2424
'onClick': function(e) {
2525
e.preventDefault();
26-
window.open("http://twitter.com/intent/tweet?text="+document.title+"&url="+encodeURIComponent(location.href)+"&hashtags=rmarkdown,bookdown");
26+
window.open("http://twitter.com/intent/tweet?text="+encodeURIComponent(document.title)+"&url="+encodeURIComponent(location.href)+"&hashtags=rmarkdown,bookdown");
2727
}
2828
},
2929
'linkedin': {
-5.08 KB
Loading

0 commit comments

Comments
 (0)