X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fpublic%2Fthemes%2Fmaterial%2Fjs%2Fjquery.tinydot.min.js;fp=src%2FWallabag%2FCoreBundle%2FResources%2Fpublic%2Fthemes%2Fmaterial%2Fjs%2Fjquery.tinydot.min.js;h=32c5799f55d1009f3a11b953e1ae9f13e7cabb76;hb=2f9927404d620f719d4b30d9205ff43c0238e6a1;hp=0000000000000000000000000000000000000000;hpb=d5de909bbc2c757e749e91c6638cddf8b29f92bd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/public/themes/material/js/jquery.tinydot.min.js b/src/Wallabag/CoreBundle/Resources/public/themes/material/js/jquery.tinydot.min.js new file mode 100644 index 00000000..32c5799f --- /dev/null +++ b/src/Wallabag/CoreBundle/Resources/public/themes/material/js/jquery.tinydot.min.js @@ -0,0 +1 @@ +!function(t,n){t.fn.tinydot||(t.fn.tinydot=function(n){for(var e=t(this).children("a"),i=t(this).height();t(e).outerHeight()>i;)t(e).text(function(t,n){return n.replace(/\W*\s(\S)*$/,"...")})})}(jQuery),jQuery(document).ready(function(t){t(".dot-ellipsis").each(function(){var n=new Object;t(this).tinydot(n)})});