mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 13:33:18 +00:00
Merge pull request #605 from pixelfed/frontend-ui-refactor
Update compiled assets, fixes #595
This commit is contained in:
commit
07e5ff1525
5 changed files with 4 additions and 4 deletions
BIN
public/js/components.js
vendored
BIN
public/js/components.js
vendored
Binary file not shown.
Binary file not shown.
2
resources/assets/js/components.js
vendored
2
resources/assets/js/components.js
vendored
|
@ -3,7 +3,7 @@ import BootstrapVue from 'bootstrap-vue'
|
|||
Vue.use(BootstrapVue);
|
||||
|
||||
pixelfed.readmore = () => {
|
||||
$(document).find('.read-more').each(function(k,v) {
|
||||
$('.read-more').each(function(k,v) {
|
||||
let el = $(this);
|
||||
let attr = el.attr('data-readmore');
|
||||
if(typeof attr !== typeof undefined && attr !== false) {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
<span class="pr-3" style="overflow: hidden;">
|
||||
<div class="font-weight-bold pr-1"><bdi><a class="text-dark" :href="comment.account.url" :title="comment.account.username">{{l(comment.account.username)}}</a></bdi>
|
||||
</div>
|
||||
<div class="read-more" style="overflow: hidden;">
|
||||
<div class="read-more" style="overflow: hidden;" :id="comment.id + '-reply-readmore'">
|
||||
<span class="comment-text" v-html="comment.content" style="overflow: hidden;"></span>
|
||||
</div>
|
||||
</span>
|
||||
|
@ -51,7 +51,7 @@ export default {
|
|||
props: ['post-id', 'post-username', 'user'],
|
||||
data() {
|
||||
return {
|
||||
results: {},
|
||||
results: null,
|
||||
pagination: {},
|
||||
min_id: 0,
|
||||
max_id: 0,
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
<div class="status-comment">
|
||||
<p class="mb-1 read-more" style="overflow: hidden;">
|
||||
<span class="font-weight-bold pr-1">{{statusUsername}}</span>
|
||||
<span class="comment-text"></span>
|
||||
<span class="comment-text" :id="status.id + '-status-readmore'"></span>
|
||||
</p>
|
||||
<post-comments :user="this.user" :post-id="statusId" :post-username="statusUsername"></post-comments>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue