parent
254ebc80a7
commit
a888cad011
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
// bigblow.js --- BigBlow JS file
|
// bigblow.js --- BigBlow JS file
|
||||||
//
|
//
|
||||||
// Copyright (C) 2011-2014 All Right Reserved, Fabrice Niessen
|
// Copyright (C) 2011-2016 All Right Reserved, Fabrice Niessen
|
||||||
//
|
//
|
||||||
// This file is free software: you can redistribute it and/or
|
// This file is free software: you can redistribute it and/or
|
||||||
// modify it under the terms of the GNU General Public License as
|
// modify it under the terms of the GNU General Public License as
|
||||||
|
@ -93,9 +92,14 @@ function tabifySections() {
|
||||||
tabs.append(html);
|
tabs.append(html);
|
||||||
}
|
}
|
||||||
|
|
||||||
// insert tabs menu after title (`h1')
|
// insert tabs menu after title (`h1'), or at the beginning of the content
|
||||||
|
if($('.title').length !== 0) {
|
||||||
$('.title').after(tabs);
|
$('.title').after(tabs);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
$('#content').prepend(tabs);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
function selectTabAndScroll(href) {
|
function selectTabAndScroll(href) {
|
||||||
// At this point we assume that href is local (starts with #)
|
// At this point we assume that href is local (starts with #)
|
||||||
|
|
Loading…
Reference in New Issue