From e71cf821f857248eacf9fb9d47208a433905e8de Mon Sep 17 00:00:00 2001 From: ccd0 Date: Mon, 15 Feb 2016 20:16:53 -0800 Subject: [PATCH] Fix StrawPoll titles for results pages. --- src/Linkification/Embedding.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Linkification/Embedding.coffee b/src/Linkification/Embedding.coffee index 109df3536..064921c5d 100644 --- a/src/Linkification/Embedding.coffee +++ b/src/Linkification/Embedding.coffee @@ -256,7 +256,7 @@ Embedding = $.el 'iframe', src: "//strawpoll.me/embed_1/#{a.dataset.uid}" title: - api: (uid) -> "https://strawpoll.me/api/v2/polls/#{uid}" + api: (uid) -> "https://strawpoll.me/api/v2/polls/#{uid.match(/\d+/)[0]}" text: (_) -> _.title , key: 'TwitchTV'