mirror of
https://github.com/flarum/core.git
synced 2025-07-23 17:51:24 +02:00
Get rid of console.log
This commit is contained in:
1
extensions/sticky/js/bootstrap.js
vendored
1
extensions/sticky/js/bootstrap.js
vendored
@@ -70,7 +70,6 @@ app.initializers.add('sticky', function() {
|
|||||||
var discussion = this.props.discussion;
|
var discussion = this.props.discussion;
|
||||||
|
|
||||||
if (discussion.isSticky()) {
|
if (discussion.isSticky()) {
|
||||||
console.log(discussion.startPost())
|
|
||||||
var startPost = discussion.startPost();
|
var startPost = discussion.startPost();
|
||||||
if (startPost) {
|
if (startPost) {
|
||||||
var excerpt = m('span', truncate(startPost.contentPlain(), 200));
|
var excerpt = m('span', truncate(startPost.contentPlain(), 200));
|
||||||
|
Reference in New Issue
Block a user