]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Simplify the initialization of the plugin dotdotdot
authorAlexandr Danilov <bitbucket@modos189.ru>
Mon, 22 Aug 2016 20:59:20 +0000 (23:59 +0300)
committerAlexandr Danilov <bitbucket@modos189.ru>
Mon, 22 Aug 2016 20:59:20 +0000 (23:59 +0300)
src/Wallabag/CoreBundle/Resources/public/themes/material/js/init.js
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig

index a277bd008d0bf304d4f418d605e631adb38f47ad..491a7916d68d5b1d2a09c240523375e28c23ccc2 100755 (executable)
@@ -69,7 +69,6 @@ $(document).ready(function(){
         $(".nav-panels").css('background', 'transparent');
         return false;
     });
-    $(".card-title").dotdotdot();
     $(window).scroll(function () {
         var s = $(window).scrollTop(),
         d = $(document).height(),
index e77d83bff4c296385b7ba5c3274c0bc1c7176f39..5f49062fa5bb7a0da2dbf04b423bd51613e8cf38 100644 (file)
@@ -35,7 +35,7 @@
                                 <i class="card-title grey-text text-darken-4 activator mdi-navigation-more-horiz right"></i>
                             {% 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">
                                 <span class="tool reading-time">