Commit db500605106eca9365f727fe1b1210997c109a14
1 parent
5a3b0752
Exists in
master
and in
34 other branches
Removes suspension points in buttons.
Signed-off-by: Dylan Guedes <djmgguedes@gmail.com> Signed-off-by: Fábio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
src/noosfero-spb/noosfero-spb-theme/theme.js
@@ -275,6 +275,13 @@ $('#link-buscar').click(function(e) { | @@ -275,6 +275,13 @@ $('#link-buscar').click(function(e) { | ||
275 | $('<span id="breadcrumbs-you-are-here">Você está aqui:</span>').insertBefore($('.breadcrumbs-plugin_content-breadcrumbs-block .block-inner-2').children().first()); | 275 | $('<span id="breadcrumbs-you-are-here">Você está aqui:</span>').insertBefore($('.breadcrumbs-plugin_content-breadcrumbs-block .block-inner-2').children().first()); |
276 | } | 276 | } |
277 | 277 | ||
278 | + function remove_suspension_points_in_buttons() { | ||
279 | + $(".template-kind a span:contains('...')").each(function(index, element) { | ||
280 | + element.innerHTML = element.innerHTML.replace(/(\...)/, ""); | ||
281 | + }); | ||
282 | + } | ||
283 | + | ||
284 | + | ||
278 | $(document).ready(function(){ | 285 | $(document).ready(function(){ |
279 | add_tooltips(); | 286 | add_tooltips(); |
280 | add_popovers(); | 287 | add_popovers(); |
@@ -286,5 +293,6 @@ $('#link-buscar').click(function(e) { | @@ -286,5 +293,6 @@ $('#link-buscar').click(function(e) { | ||
286 | set_arrow_direction(); | 293 | set_arrow_direction(); |
287 | set_use_report_content(); | 294 | set_use_report_content(); |
288 | setEvents(); | 295 | setEvents(); |
296 | + remove_suspension_points_in_buttons(); | ||
289 | }); | 297 | }); |
290 | })(jQuery); | 298 | })(jQuery); |