{"action":"created","issue":{"url":"https://api.github.com/repos/iamceege/tooltipster/issues/568","repository_url":"https://api.github.com/repos/iamceege/tooltipster","labels_url":"https://api.github.com/repos/iamceege/tooltipster/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/iamceege/tooltipster/issues/568/comments","events_url":"https://api.github.com/repos/iamceege/tooltipster/issues/568/events","html_url":"https://github.com/iamceege/tooltipster/issues/568","id":161098188,"number":568,"title":"Tooltip not show after first click on link","user":{"login":"rorc","id":9752959,"avatar_url":"https://avatars.githubusercontent.com/u/9752959?v=3","gravatar_id":"","url":"https://api.github.com/users/rorc","html_url":"https://github.com/rorc","followers_url":"https://api.github.com/users/rorc/followers","following_url":"https://api.github.com/users/rorc/following{/other_user}","gists_url":"https://api.github.com/users/rorc/gists{/gist_id}","starred_url":"https://api.github.com/users/rorc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorc/subscriptions","organizations_url":"https://api.github.com/users/rorc/orgs","repos_url":"https://api.github.com/users/rorc/repos","events_url":"https://api.github.com/users/rorc/events{/privacy}","received_events_url":"https://api.github.com/users/rorc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-06-19T23:42:18Z","updated_at":"2016-06-20T11:55:38Z","closed_at":"2016-06-20T08:11:14Z","body":"In this case tooltip show only after second click on element:\r\n```\r\n        var initTooltipster = function(container) {\r\n            $('.tooltip', container || document).tooltipster({\r\n                theme: 'tooltipster-shadow',\r\n                contentAsHTML: true,\r\n                interactive: true,\r\n                trigger: 'click',\r\n                functionBefore: function(instance, helper) {\r\n                    var self = $(helper.origin);\r\n                    if (self.is('a') && self.data('loaded') !== true) {\r\n                        $.get(self.attr('href'), function(data) {\r\n                            instance.content(data);\r\n                            self.data('loaded', true);\r\n                        });\r\n                    }\r\n                }\r\n            }).on('click', false);\r\n        };\r\n```\r\n\r\nAnd second question: How i can prevent go to new page if element is a, without `.on('click', false)` ?"},"comment":{"url":"https://api.github.com/repos/iamceege/tooltipster/issues/comments/227122255","html_url":"https://github.com/iamceege/tooltipster/issues/568#issuecomment-227122255","issue_url":"https://api.github.com/repos/iamceege/tooltipster/issues/568","id":227122255,"user":{"login":"rorc","id":9752959,"avatar_url":"https://avatars.githubusercontent.com/u/9752959?v=3","gravatar_id":"","url":"https://api.github.com/users/rorc","html_url":"https://github.com/rorc","followers_url":"https://api.github.com/users/rorc/followers","following_url":"https://api.github.com/users/rorc/following{/other_user}","gists_url":"https://api.github.com/users/rorc/gists{/gist_id}","starred_url":"https://api.github.com/users/rorc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rorc/subscriptions","organizations_url":"https://api.github.com/users/rorc/orgs","repos_url":"https://api.github.com/users/rorc/repos","events_url":"https://api.github.com/users/rorc/events{/privacy}","received_events_url":"https://api.github.com/users/rorc/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T11:55:38Z","updated_at":"2016-06-20T11:55:38Z","body":"Yea, i understand it. But in case with ajax tooltip will not open since method `open` will not called.\r\nBut if i call this method, ajax request triggers twice..."}}
{"actor":{"display_login":"rorc"}}