mirror of
https://github.com/flarum/core.git
synced 2025-07-21 08:41:17 +02:00
Cleanup
This commit is contained in:
@@ -136,7 +136,6 @@ export default class UserPage extends Component {
|
|||||||
if (isInitialized) { return; }
|
if (isInitialized) { return; }
|
||||||
|
|
||||||
var $sidebar = $(element);
|
var $sidebar = $(element);
|
||||||
console.log($sidebar.find('> ul'), $sidebar.find('> ul').data('bs.affix'));
|
|
||||||
$sidebar.find('> ul').affix({
|
$sidebar.find('> ul').affix({
|
||||||
offset: {
|
offset: {
|
||||||
top: $sidebar.offset().top - $('.global-header').outerHeight(true) - parseInt($sidebar.css('margin-top')),
|
top: $sidebar.offset().top - $('.global-header').outerHeight(true) - parseInt($sidebar.css('margin-top')),
|
||||||
|
Reference in New Issue
Block a user