diff --git a/app/assets/javascripts/annotable.js.coffee b/app/assets/javascripts/annotable.js.coffee index f57a54b96..cde86b5a7 100644 --- a/app/assets/javascripts/annotable.js.coffee +++ b/app/assets/javascripts/annotable.js.coffee @@ -4,7 +4,6 @@ App.Annotable = $this = $(this) ann_type = $this.data("annotable-type") ann_id = $this.data("annotable-id") - ann_user_id = $this.data("annotable-user-id") app = new annotator.App() .include(annotator.ui.main, { element: this }) diff --git a/app/views/legislations/show.html.erb b/app/views/legislations/show.html.erb index 7638deb52..b36915bdd 100644 --- a/app/views/legislations/show.html.erb +++ b/app/views/legislations/show.html.erb @@ -1,6 +1,5 @@
+ data-annotable-id="<%= @legislation.id %>">
<%= @legislation.title %>
<%= @legislation.body %>