{"action":"opened","issue":{"url":"https://api.github.com/repos/fancyapps/fancyBox/issues/1161","repository_url":"https://api.github.com/repos/fancyapps/fancyBox","labels_url":"https://api.github.com/repos/fancyapps/fancyBox/issues/1161/labels{/name}","comments_url":"https://api.github.com/repos/fancyapps/fancyBox/issues/1161/comments","events_url":"https://api.github.com/repos/fancyapps/fancyBox/issues/1161/events","html_url":"https://github.com/fancyapps/fancyBox/issues/1161","id":186689780,"number":1161,"title":"Update method do not word","user":{"login":"mediaceh","id":17131628,"avatar_url":"https://avatars.githubusercontent.com/u/17131628?v=3","gravatar_id":"","url":"https://api.github.com/users/mediaceh","html_url":"https://github.com/mediaceh","followers_url":"https://api.github.com/users/mediaceh/followers","following_url":"https://api.github.com/users/mediaceh/following{/other_user}","gists_url":"https://api.github.com/users/mediaceh/gists{/gist_id}","starred_url":"https://api.github.com/users/mediaceh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mediaceh/subscriptions","organizations_url":"https://api.github.com/users/mediaceh/orgs","repos_url":"https://api.github.com/users/mediaceh/repos","events_url":"https://api.github.com/users/mediaceh/events{/privacy}","received_events_url":"https://api.github.com/users/mediaceh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-02T01:20:22Z","updated_at":"2016-11-02T01:20:22Z","closed_at":null,"body":"When i call $.fancybox.update() it do not pass several condition\r\n`if (!F.isOpen || didUpdate) {\t\r\n\t\t\t\treturn;\r\n\t\t\t}`\r\nF.isOpen is false in my case. Next condition wich it do not pass\r\n`if (!current || F.isClosing) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}`\r\ncurrent  is false in my case.\r\n\r\nIt my code of call window \r\n`    $.fancybox.open({\r\n\t\t\thref : url,\r\n\t\t\tscrolling: 'no',\r\n\t\t\ttitleShow: false,\r\n\t\t\ttype: 'iframe',\r\n\t\t\tpadding: 0,\r\n\t\t\tmaxWidth: 610,\r\n\t\t\t//maxHeight: 1450,\r\n\t\t\tfitToView: false,\r\n\t\t\t//autoSize: false,\r\n\t\t\tautoSize: true,\r\n\t\t\t//autoResize: true,\r\n\t\t\tcloseBtn: false,\r\n\t\t\thelpers: {\r\n\t\t\t\toverlay: {\r\n\t\t\t\t\tlocked: false\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t//onUpdate: function() { $(this).update();  }\r\n\t\t});`\r\nIf i resize browser widow fancybox updated and set height of content in 100%.  But after call a update method nothing happens."}}
{"actor":{"display_login":"mediaceh"}}