misc/plugin/tb-show.rb in tdiary-4.1.3 vs misc/plugin/tb-show.rb in tdiary-4.2.0
- old
+ new
@@ -25,13 +25,10 @@
# url = "#{cgi}/#{@tb_date.strftime( '%Y%m%d' )}"
# %Q|#{comment_new_tb_backup }</a>]<br>[TrackBack to <a href="#{@tb_url}">#{@tb_url}|
# end
#
-# running on only non mobile mode
-unless @cgi.mobile_agent? then
-
#
# show TrackBack ping URL
#
add_body_enter_proc do |date|
cgi = File.basename(@options['tb.cgi'] || './tb.rb')
@@ -177,12 +174,9 @@
end
r << %Q!\t\t</div>\n!
r << %Q!\t</div>\n!
r
end
-
-# running on only non mobile mode
-end # unless mobile_agent?
# configurations
@conf['trackback_anchor'] ||= @conf.comment_anchor
@conf['trackback_limit'] ||= @conf.comment_limit