Browse Source

Anomalie #795: Design: chromium: champ recherche

Bastien Sevajol 11 years ago
parent
commit
1d2d07e77e

+ 1 - 1
src/Muzich/CoreBundle/Resources/public/css/main.css View File

712
   margin: 0;
712
   margin: 0;
713
   padding: 0;
713
   padding: 0;
714
   padding-left: 6px;
714
   padding-left: 6px;
715
-  width: 222px;
715
+  width: 220px;
716
 }
716
 }
717
 div.seachboxcontainer img
717
 div.seachboxcontainer img
718
 {
718
 {

+ 1 - 1
src/Muzich/CoreBundle/Resources/public/js/muzich.js View File

413
       
413
       
414
       var form = $('form[name="search"]');
414
       var form = $('form[name="search"]');
415
       id = str_replace('element_tag_', '', $(this).attr('id'));
415
       id = str_replace('element_tag_', '', $(this).attr('id'));
416
-      var tag = new Tag(id, $(this).text());
416
+      var tag = new Tag(id, $.trim($(this).text()));
417
       
417
       
418
       window.search_tag_prompt_connector.initializeTags([tag]);
418
       window.search_tag_prompt_connector.initializeTags([tag]);
419
       
419