{"action":"created","comment":{"url":"https://api.github.com/repos/viewflow/django-material/pulls/comments/68885658","id":68885658,"diff_hunk":"@@ -2033,8 +2033,11 @@ $(document).ready(function(){\n         }\n \n         // Add Touch Area\n-        var dragTarget = $('<div class=\"drag-target\"></div>');\n-        $('body').append(dragTarget);\n+        var dragTarget = $('.drag-target');","path":"material/static/material/js/materialize.js","position":6,"original_position":6,"commit_id":"00cfd944798df3106347d2dc40e1eaba4e428c55","original_commit_id":"00cfd944798df3106347d2dc40e1eaba4e428c55","user":{"login":"kmmbvnr","id":282529,"avatar_url":"https://avatars.githubusercontent.com/u/282529?v=3","gravatar_id":"","url":"https://api.github.com/users/kmmbvnr","html_url":"https://github.com/kmmbvnr","followers_url":"https://api.github.com/users/kmmbvnr/followers","following_url":"https://api.github.com/users/kmmbvnr/following{/other_user}","gists_url":"https://api.github.com/users/kmmbvnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kmmbvnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kmmbvnr/subscriptions","organizations_url":"https://api.github.com/users/kmmbvnr/orgs","repos_url":"https://api.github.com/users/kmmbvnr/repos","events_url":"https://api.github.com/users/kmmbvnr/events{/privacy}","received_events_url":"https://api.github.com/users/kmmbvnr/received_events","type":"User","site_admin":false},"body":"this won't work, since materialize.js is updated by gulp from materializecss project","created_at":"2016-06-29T05:01:10Z","updated_at":"2016-06-29T05:01:10Z","html_url":"https://github.com/viewflow/django-material/pull/140#discussion_r68885658","pull_request_url":"https://api.github.com/repos/viewflow/django-material/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/viewflow/django-material/pulls/comments/68885658"},"html":{"href":"https://github.com/viewflow/django-material/pull/140#discussion_r68885658"},"pull_request":{"href":"https://api.github.com/repos/viewflow/django-material/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/viewflow/django-material/pulls/140","id":75586089,"html_url":"https://github.com/viewflow/django-material/pull/140","diff_url":"https://github.com/viewflow/django-material/pull/140.diff","patch_url":"https://github.com/viewflow/django-material/pull/140.patch","issue_url":"https://api.github.com/repos/viewflow/django-material/issues/140","number":140,"state":"open","locked":false,"title":"Fix for duplicating drag-target element (when using pjax)","user":{"login":"h3","id":102919,"avatar_url":"https://avatars.githubusercontent.com/u/102919?v=3","gravatar_id":"","url":"https://api.github.com/users/h3","html_url":"https://github.com/h3","followers_url":"https://api.github.com/users/h3/followers","following_url":"https://api.github.com/users/h3/following{/other_user}","gists_url":"https://api.github.com/users/h3/gists{/gist_id}","starred_url":"https://api.github.com/users/h3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3/subscriptions","organizations_url":"https://api.github.com/users/h3/orgs","repos_url":"https://api.github.com/users/h3/repos","events_url":"https://api.github.com/users/h3/events{/privacy}","received_events_url":"https://api.github.com/users/h3/received_events","type":"User","site_admin":false},"body":"At each pjax load the a new drag-target was created and inserted to the dom..\r\n\r\n![Screenshot](http://i.imgur.com/OXenlbl.png)\r\n","created_at":"2016-06-29T04:13:51Z","updated_at":"2016-06-29T05:01:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37adb4d5fa501fa2f4c2581be31a436c9f3832c9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/viewflow/django-material/pulls/140/commits","review_comments_url":"https://api.github.com/repos/viewflow/django-material/pulls/140/comments","review_comment_url":"https://api.github.com/repos/viewflow/django-material/pulls/comments{/number}","comments_url":"https://api.github.com/repos/viewflow/django-material/issues/140/comments","statuses_url":"https://api.github.com/repos/viewflow/django-material/statuses/00cfd944798df3106347d2dc40e1eaba4e428c55","head":{"label":"h3:frontend-drag-target-fix","ref":"frontend-drag-target-fix","sha":"00cfd944798df3106347d2dc40e1eaba4e428c55","user":{"login":"h3","id":102919,"avatar_url":"https://avatars.githubusercontent.com/u/102919?v=3","gravatar_id":"","url":"https://api.github.com/users/h3","html_url":"https://github.com/h3","followers_url":"https://api.github.com/users/h3/followers","following_url":"https://api.github.com/users/h3/following{/other_user}","gists_url":"https://api.github.com/users/h3/gists{/gist_id}","starred_url":"https://api.github.com/users/h3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3/subscriptions","organizations_url":"https://api.github.com/users/h3/orgs","repos_url":"https://api.github.com/users/h3/repos","events_url":"https://api.github.com/users/h3/events{/privacy}","received_events_url":"https://api.github.com/users/h3/received_events","type":"User","site_admin":false},"repo":{"id":62193666,"name":"django-material","full_name":"h3/django-material","owner":{"login":"h3","id":102919,"avatar_url":"https://avatars.githubusercontent.com/u/102919?v=3","gravatar_id":"","url":"https://api.github.com/users/h3","html_url":"https://github.com/h3","followers_url":"https://api.github.com/users/h3/followers","following_url":"https://api.github.com/users/h3/following{/other_user}","gists_url":"https://api.github.com/users/h3/gists{/gist_id}","starred_url":"https://api.github.com/users/h3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3/subscriptions","organizations_url":"https://api.github.com/users/h3/orgs","repos_url":"https://api.github.com/users/h3/repos","events_url":"https://api.github.com/users/h3/events{/privacy}","received_events_url":"https://api.github.com/users/h3/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h3/django-material","description":"Material Design for django forms and admin","fork":true,"url":"https://api.github.com/repos/h3/django-material","forks_url":"https://api.github.com/repos/h3/django-material/forks","keys_url":"https://api.github.com/repos/h3/django-material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h3/django-material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h3/django-material/teams","hooks_url":"https://api.github.com/repos/h3/django-material/hooks","issue_events_url":"https://api.github.com/repos/h3/django-material/issues/events{/number}","events_url":"https://api.github.com/repos/h3/django-material/events","assignees_url":"https://api.github.com/repos/h3/django-material/assignees{/user}","branches_url":"https://api.github.com/repos/h3/django-material/branches{/branch}","tags_url":"https://api.github.com/repos/h3/django-material/tags","blobs_url":"https://api.github.com/repos/h3/django-material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h3/django-material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h3/django-material/git/refs{/sha}","trees_url":"https://api.github.com/repos/h3/django-material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h3/django-material/statuses/{sha}","languages_url":"https://api.github.com/repos/h3/django-material/languages","stargazers_url":"https://api.github.com/repos/h3/django-material/stargazers","contributors_url":"https://api.github.com/repos/h3/django-material/contributors","subscribers_url":"https://api.github.com/repos/h3/django-material/subscribers","subscription_url":"https://api.github.com/repos/h3/django-material/subscription","commits_url":"https://api.github.com/repos/h3/django-material/commits{/sha}","git_commits_url":"https://api.github.com/repos/h3/django-material/git/commits{/sha}","comments_url":"https://api.github.com/repos/h3/django-material/comments{/number}","issue_comment_url":"https://api.github.com/repos/h3/django-material/issues/comments{/number}","contents_url":"https://api.github.com/repos/h3/django-material/contents/{+path}","compare_url":"https://api.github.com/repos/h3/django-material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h3/django-material/merges","archive_url":"https://api.github.com/repos/h3/django-material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h3/django-material/downloads","issues_url":"https://api.github.com/repos/h3/django-material/issues{/number}","pulls_url":"https://api.github.com/repos/h3/django-material/pulls{/number}","milestones_url":"https://api.github.com/repos/h3/django-material/milestones{/number}","notifications_url":"https://api.github.com/repos/h3/django-material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h3/django-material/labels{/name}","releases_url":"https://api.github.com/repos/h3/django-material/releases{/id}","deployments_url":"https://api.github.com/repos/h3/django-material/deployments","created_at":"2016-06-29T03:48:08Z","updated_at":"2016-06-29T03:48:09Z","pushed_at":"2016-06-29T04:14:36Z","git_url":"git://github.com/h3/django-material.git","ssh_url":"git@github.com:h3/django-material.git","clone_url":"https://github.com/h3/django-material.git","svn_url":"https://github.com/h3/django-material","homepage":" http://forms.viewflow.io/","size":10904,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"viewflow:master","ref":"master","sha":"5f05889fb0367dc13a0aeef4028d773098e51fc6","user":{"login":"viewflow","id":9137177,"avatar_url":"https://avatars.githubusercontent.com/u/9137177?v=3","gravatar_id":"","url":"https://api.github.com/users/viewflow","html_url":"https://github.com/viewflow","followers_url":"https://api.github.com/users/viewflow/followers","following_url":"https://api.github.com/users/viewflow/following{/other_user}","gists_url":"https://api.github.com/users/viewflow/gists{/gist_id}","starred_url":"https://api.github.com/users/viewflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viewflow/subscriptions","organizations_url":"https://api.github.com/users/viewflow/orgs","repos_url":"https://api.github.com/users/viewflow/repos","events_url":"https://api.github.com/users/viewflow/events{/privacy}","received_events_url":"https://api.github.com/users/viewflow/received_events","type":"Organization","site_admin":false},"repo":{"id":29337344,"name":"django-material","full_name":"viewflow/django-material","owner":{"login":"viewflow","id":9137177,"avatar_url":"https://avatars.githubusercontent.com/u/9137177?v=3","gravatar_id":"","url":"https://api.github.com/users/viewflow","html_url":"https://github.com/viewflow","followers_url":"https://api.github.com/users/viewflow/followers","following_url":"https://api.github.com/users/viewflow/following{/other_user}","gists_url":"https://api.github.com/users/viewflow/gists{/gist_id}","starred_url":"https://api.github.com/users/viewflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viewflow/subscriptions","organizations_url":"https://api.github.com/users/viewflow/orgs","repos_url":"https://api.github.com/users/viewflow/repos","events_url":"https://api.github.com/users/viewflow/events{/privacy}","received_events_url":"https://api.github.com/users/viewflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/viewflow/django-material","description":"Material Design for django forms and admin","fork":false,"url":"https://api.github.com/repos/viewflow/django-material","forks_url":"https://api.github.com/repos/viewflow/django-material/forks","keys_url":"https://api.github.com/repos/viewflow/django-material/keys{/key_id}","collaborators_url":"https://api.github.com/repos/viewflow/django-material/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/viewflow/django-material/teams","hooks_url":"https://api.github.com/repos/viewflow/django-material/hooks","issue_events_url":"https://api.github.com/repos/viewflow/django-material/issues/events{/number}","events_url":"https://api.github.com/repos/viewflow/django-material/events","assignees_url":"https://api.github.com/repos/viewflow/django-material/assignees{/user}","branches_url":"https://api.github.com/repos/viewflow/django-material/branches{/branch}","tags_url":"https://api.github.com/repos/viewflow/django-material/tags","blobs_url":"https://api.github.com/repos/viewflow/django-material/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/viewflow/django-material/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/viewflow/django-material/git/refs{/sha}","trees_url":"https://api.github.com/repos/viewflow/django-material/git/trees{/sha}","statuses_url":"https://api.github.com/repos/viewflow/django-material/statuses/{sha}","languages_url":"https://api.github.com/repos/viewflow/django-material/languages","stargazers_url":"https://api.github.com/repos/viewflow/django-material/stargazers","contributors_url":"https://api.github.com/repos/viewflow/django-material/contributors","subscribers_url":"https://api.github.com/repos/viewflow/django-material/subscribers","subscription_url":"https://api.github.com/repos/viewflow/django-material/subscription","commits_url":"https://api.github.com/repos/viewflow/django-material/commits{/sha}","git_commits_url":"https://api.github.com/repos/viewflow/django-material/git/commits{/sha}","comments_url":"https://api.github.com/repos/viewflow/django-material/comments{/number}","issue_comment_url":"https://api.github.com/repos/viewflow/django-material/issues/comments{/number}","contents_url":"https://api.github.com/repos/viewflow/django-material/contents/{+path}","compare_url":"https://api.github.com/repos/viewflow/django-material/compare/{base}...{head}","merges_url":"https://api.github.com/repos/viewflow/django-material/merges","archive_url":"https://api.github.com/repos/viewflow/django-material/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/viewflow/django-material/downloads","issues_url":"https://api.github.com/repos/viewflow/django-material/issues{/number}","pulls_url":"https://api.github.com/repos/viewflow/django-material/pulls{/number}","milestones_url":"https://api.github.com/repos/viewflow/django-material/milestones{/number}","notifications_url":"https://api.github.com/repos/viewflow/django-material/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/viewflow/django-material/labels{/name}","releases_url":"https://api.github.com/repos/viewflow/django-material/releases{/id}","deployments_url":"https://api.github.com/repos/viewflow/django-material/deployments","created_at":"2015-01-16T07:17:33Z","updated_at":"2016-06-29T00:44:15Z","pushed_at":"2016-06-29T04:13:51Z","git_url":"git://github.com/viewflow/django-material.git","ssh_url":"git@github.com:viewflow/django-material.git","clone_url":"https://github.com/viewflow/django-material.git","svn_url":"https://github.com/viewflow/django-material","homepage":" http://forms.viewflow.io/","size":11106,"stargazers_count":690,"watchers_count":690,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":99,"mirror_url":null,"open_issues_count":9,"forks":99,"open_issues":9,"watchers":690,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/viewflow/django-material/pulls/140"},"html":{"href":"https://github.com/viewflow/django-material/pull/140"},"issue":{"href":"https://api.github.com/repos/viewflow/django-material/issues/140"},"comments":{"href":"https://api.github.com/repos/viewflow/django-material/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/viewflow/django-material/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/viewflow/django-material/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/viewflow/django-material/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/viewflow/django-material/statuses/00cfd944798df3106347d2dc40e1eaba4e428c55"}}}}
{"actor":{"display_login":"kmmbvnr"}}