diff --git a/app/controllers/text_marquees_controller.rb b/app/controllers/text_marquees_controller.rb
index eccaa2e..59717d7 100644
--- a/app/controllers/text_marquees_controller.rb
+++ b/app/controllers/text_marquees_controller.rb
@@ -1,5 +1,4 @@
class TextMarqueesController < ApplicationController
-
def widget
subpart = OrbitHelper.get_current_widget
marquee = Marquee.find(OrbitHelper.widget_custom_value)
@@ -7,7 +6,8 @@ class TextMarqueesController < ApplicationController
{
"text" => mqt.title,
"speed" => mqt.speed,
- "url" => (mqt.url || "")
+ "url" => (mqt.url || ""),
+ "content" => (mqt.url.nil? ? "#{mqt.title}" : "#{mqt.title}")
}
end
{