OSDN Git Service

fix new element dialog
[pettanr/pettanr.git] / app / assets / javascripts / pettanr.js.coffee
index f267f65..6685799 100644 (file)
@@ -198,7 +198,7 @@ class Pettanr
     \r
     redraw_title: (params, str = null) ->\r
       t = str || I18n.t(params['controller'] + '.' + params['action'] + '.title')\r
-      site_caption = Manifest.manifest().magic_numbers.profile.users.caption\r
+      site_caption = _.escape(Manifest.manifest().magic_numbers.profile.users.caption)\r
       $(document).attr('title', t + ' - ' + site_caption)\r
     \r
   #>> https://gist.github.com/davidjbeveridge/3813724\r