diff options
author | Alexandr Danilov <bitbucket@modos189.ru> | 2016-08-22 23:59:20 +0300 |
---|---|---|
committer | Alexandr Danilov <bitbucket@modos189.ru> | 2016-08-22 23:59:20 +0300 |
commit | 474b086656eb628684d11d2c187a086d65a0fdd0 (patch) | |
tree | db1518a6252c4ca9c0e778234dec60012b5f56bd /src | |
parent | e32aea53ab2aa6382c60ec194617aa8e0a79c28f (diff) | |
download | wallabag-474b086656eb628684d11d2c187a086d65a0fdd0.tar.gz wallabag-474b086656eb628684d11d2c187a086d65a0fdd0.tar.zst wallabag-474b086656eb628684d11d2c187a086d65a0fdd0.zip |
Simplify the initialization of the plugin dotdotdot
Diffstat (limited to 'src')
-rwxr-xr-x | src/Wallabag/CoreBundle/Resources/public/themes/material/js/init.js | 1 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/public/themes/material/js/init.js b/src/Wallabag/CoreBundle/Resources/public/themes/material/js/init.js index a277bd00..491a7916 100755 --- a/src/Wallabag/CoreBundle/Resources/public/themes/material/js/init.js +++ b/src/Wallabag/CoreBundle/Resources/public/themes/material/js/init.js | |||
@@ -69,7 +69,6 @@ $(document).ready(function(){ | |||
69 | $(".nav-panels").css('background', 'transparent'); | 69 | $(".nav-panels").css('background', 'transparent'); |
70 | return false; | 70 | return false; |
71 | }); | 71 | }); |
72 | $(".card-title").dotdotdot(); | ||
73 | $(window).scroll(function () { | 72 | $(window).scroll(function () { |
74 | var s = $(window).scrollTop(), | 73 | var s = $(window).scrollTop(), |
75 | d = $(document).height(), | 74 | d = $(document).height(), |
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index e77d83bf..5f49062f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -35,7 +35,7 @@ | |||
35 | <i class="card-title grey-text text-darken-4 activator mdi-navigation-more-horiz right"></i> | 35 | <i class="card-title grey-text text-darken-4 activator mdi-navigation-more-horiz right"></i> |
36 | {% endif %} | 36 | {% endif %} |
37 | 37 | ||
38 | <span class="card-title"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|raw }}</a></span> | 38 | <span class="card-title dot-ellipsis"><a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title|raw }}">{{ entry.title|striptags|raw }}</a></span> |
39 | 39 | ||
40 | <div class="estimatedTime grey-text"> | 40 | <div class="estimatedTime grey-text"> |
41 | <span class="tool reading-time"> | 41 | <span class="tool reading-time"> |