mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-17 17:08:37 +00:00
Simplify the initialization of the plugin dotdotdot
This commit is contained in:
parent
e32aea53ab
commit
474b086656
2 changed files with 1 additions and 2 deletions
|
@ -69,7 +69,6 @@ $(document).ready(function(){
|
||||||
$(".nav-panels").css('background', 'transparent');
|
$(".nav-panels").css('background', 'transparent');
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
$(".card-title").dotdotdot();
|
|
||||||
$(window).scroll(function () {
|
$(window).scroll(function () {
|
||||||
var s = $(window).scrollTop(),
|
var s = $(window).scrollTop(),
|
||||||
d = $(document).height(),
|
d = $(document).height(),
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<i class="card-title grey-text text-darken-4 activator mdi-navigation-more-horiz right"></i>
|
<i class="card-title grey-text text-darken-4 activator mdi-navigation-more-horiz right"></i>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|raw }}</a></span>
|
<span class="card-title dot-ellipsis"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|raw }}</a></span>
|
||||||
|
|
||||||
<div class="estimatedTime grey-text">
|
<div class="estimatedTime grey-text">
|
||||||
<span class="tool reading-time">
|
<span class="tool reading-time">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue