app/assets/javascripts/character.coffee in character-1.0.3 vs app/assets/javascripts/character.coffee in character-1.0.4
- old
+ new
@@ -23,9 +23,17 @@
#= require ./character/posts/module
#= require ./character/images/module
#= require ./character/pages/module
#= require ./character/dashboard/module
+# Safari detection for CSS workarounds
+
+$ ->
+ ua = navigator.userAgent.toLowerCase()
+ if ua.indexOf('safari') != -1
+ unless ua.indexOf('chrome') > -1
+ $('body').addClass 'safari'
+
@Character ||= {}
_.mixin(_.str.exports())
#
\ No newline at end of file