{"action":"opened","issue":{"url":"https://api.github.com/repos/stefangabos/Zebra_Tooltips/issues/15","repository_url":"https://api.github.com/repos/stefangabos/Zebra_Tooltips","labels_url":"https://api.github.com/repos/stefangabos/Zebra_Tooltips/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/stefangabos/Zebra_Tooltips/issues/15/comments","events_url":"https://api.github.com/repos/stefangabos/Zebra_Tooltips/issues/15/events","html_url":"https://github.com/stefangabos/Zebra_Tooltips/issues/15","id":354494120,"node_id":"MDU6SXNzdWUzNTQ0OTQxMjA=","number":15,"title":"All tooltips show the same content?","user":{"login":"Kotsuha","id":10438710,"node_id":"MDQ6VXNlcjEwNDM4NzEw","avatar_url":"https://avatars2.githubusercontent.com/u/10438710?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotsuha","html_url":"https://github.com/Kotsuha","followers_url":"https://api.github.com/users/Kotsuha/followers","following_url":"https://api.github.com/users/Kotsuha/following{/other_user}","gists_url":"https://api.github.com/users/Kotsuha/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotsuha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotsuha/subscriptions","organizations_url":"https://api.github.com/users/Kotsuha/orgs","repos_url":"https://api.github.com/users/Kotsuha/repos","events_url":"https://api.github.com/users/Kotsuha/events{/privacy}","received_events_url":"https://api.github.com/users/Kotsuha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-27T21:59:46Z","updated_at":"2018-08-27T21:59:46Z","closed_at":null,"author_association":"NONE","body":"Sorry if this is a dumb question... Just want to make sure if this is the desired behavior?\r\n```\r\n<!DOCTYPE html>\r\n<html>\r\n<head>\r\n\t<meta charset=\"UTF-8\">\r\n\t<title></title>\r\n\t<style>\r\n\t\t.zebra {\r\n\t\t\tbackground: rgba(255, 0, 0, 0.5);\r\n\t\t}\r\n\t</style>\r\n</head>\r\n<body>\r\n\t<span class=\"zebra\" title=\"foo\">foo</span>\r\n\t<span class=\"zebra\" title=\"bar\">bar</span>\r\n\t<span class=\"zebra\" title=\"baz\">baz</span>\r\n\r\n\t<!-- jQuery -->\r\n\t<script src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js\"></script>\r\n\r\n\t<!-- Zebra_Tooltips -->\r\n\t<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/zebra_tooltips@latest/dist/css/default/zebra_tooltips.min.css\">\r\n\t<script src=\"https://cdn.jsdelivr.net/npm/zebra_tooltips@2.0.4/dist/zebra_tooltips.min.js\"></script>\r\n\t<script>\r\n\t\t$(document).ready(function() {\r\n\t\t\tvar $elements = $(\".zebra\");\r\n\t\t\tvar options = {\r\n\t\t\t\tvertical_alignment: \"below\"\r\n\t\t\t};\r\n\t\t\tnew $.Zebra_Tooltips($elements, options);\r\n\t\t});\r\n\t</script>\r\n</body>\r\n</html>\r\n```\r\nI am trying out Zebra_Tooltips and I use the above code. I expect to see tooltips with `foo`, `bar` and `baz` but all I see is `baz`. Do I need to `new` three Zebra_Tooltips objects? Maybe like this?\r\n```\r\n$(document).ready(function() {\r\n\tvar $elements = $(\".zebra\");\r\n\tvar options = {\r\n\t\tvertical_alignment: \"below\"\r\n\t};\r\n\t$elements.each(function() {\r\n\t\tnew $.Zebra_Tooltips($(this), options);\r\n\t});\r\n});\r\n```\r\nThank you."}}
{"actor":{"display_login":"Kotsuha"}}