{"action":"created","comment":{"url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments/74026416","id":74026416,"diff_hunk":"@@ -57,14 +57,25 @@ TABS.adjustments.initialize = function (callback) {\n         //\n         // update selected function\n         //\n-        \n+\n         var functionList = $(newAdjustment).find('.functionSelection .function');\n-        functionList.val(adjustmentRange.adjustmentFunction);\n+        // update list of selected functions\n+        var functionListOptions = $(functionList).find('option');\n+        var availableFunctionCount = 21; // Available in betaflight 2.9\n         \n+        if (semver.gte(CONFIG.flightControllerVersion, '3.1.0')) {\n+            availableFunctionCount += 1; // RC rate Yaw added to 3.1.0\n+        }\n+\n+        var functionListOptions = $(functionListOptions).slice(0,availableFunctionCount);","path":"tabs/adjustments.js","position":16,"original_position":16,"commit_id":"e7cacef85168a5ca5809e3ae724c0ecba6b61c24","original_commit_id":"e7cacef85168a5ca5809e3ae724c0ecba6b61c24","user":{"login":"KiteAnton","id":15310830,"avatar_url":"https://avatars.githubusercontent.com/u/15310830?v=3","gravatar_id":"","url":"https://api.github.com/users/KiteAnton","html_url":"https://github.com/KiteAnton","followers_url":"https://api.github.com/users/KiteAnton/followers","following_url":"https://api.github.com/users/KiteAnton/following{/other_user}","gists_url":"https://api.github.com/users/KiteAnton/gists{/gist_id}","starred_url":"https://api.github.com/users/KiteAnton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiteAnton/subscriptions","organizations_url":"https://api.github.com/users/KiteAnton/orgs","repos_url":"https://api.github.com/users/KiteAnton/repos","events_url":"https://api.github.com/users/KiteAnton/events{/privacy}","received_events_url":"https://api.github.com/users/KiteAnton/received_events","type":"User","site_admin":false},"body":"Well, this is actually how it was previously. I didn't rewrite this code, just copied part of the code back that was removed in [PR 193](https://github.com/betaflight/betaflight-configurator/pull/193/files). \r\nI will however take a closer look at this and see if it can be improved.","created_at":"2016-08-09T09:30:20Z","updated_at":"2016-08-09T09:30:20Z","html_url":"https://github.com/betaflight/betaflight-configurator/pull/195#discussion_r74026416","pull_request_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195","_links":{"self":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments/74026416"},"html":{"href":"https://github.com/betaflight/betaflight-configurator/pull/195#discussion_r74026416"},"pull_request":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195"}}},"pull_request":{"url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195","id":80447473,"html_url":"https://github.com/betaflight/betaflight-configurator/pull/195","diff_url":"https://github.com/betaflight/betaflight-configurator/pull/195.diff","patch_url":"https://github.com/betaflight/betaflight-configurator/pull/195.patch","issue_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/195","number":195,"state":"closed","locked":false,"title":"Rc rate yaw adjustment","user":{"login":"KiteAnton","id":15310830,"avatar_url":"https://avatars.githubusercontent.com/u/15310830?v=3","gravatar_id":"","url":"https://api.github.com/users/KiteAnton","html_url":"https://github.com/KiteAnton","followers_url":"https://api.github.com/users/KiteAnton/followers","following_url":"https://api.github.com/users/KiteAnton/following{/other_user}","gists_url":"https://api.github.com/users/KiteAnton/gists{/gist_id}","starred_url":"https://api.github.com/users/KiteAnton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiteAnton/subscriptions","organizations_url":"https://api.github.com/users/KiteAnton/orgs","repos_url":"https://api.github.com/users/KiteAnton/repos","events_url":"https://api.github.com/users/KiteAnton/events{/privacy}","received_events_url":"https://api.github.com/users/KiteAnton/received_events","type":"User","site_admin":false},"body":"As requested in #192 . \r\nThis PR should be merged after #193 and after [PR 931 ](https://github.com/betaflight/betaflight/pull/931)in betaflight repo. \r\n\r\n","created_at":"2016-08-08T13:06:19Z","updated_at":"2016-08-09T09:30:20Z","closed_at":"2016-08-08T21:22:56Z","merged_at":"2016-08-08T21:22:56Z","merge_commit_sha":"e030df5d1b393a3aeefc43aea8bbc1fe0fb62801","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195/commits","review_comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195/comments","review_comment_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/195/comments","statuses_url":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/e7cacef85168a5ca5809e3ae724c0ecba6b61c24","head":{"label":"KiteAnton:rc_rate_yaw_adjustment","ref":"rc_rate_yaw_adjustment","sha":"e7cacef85168a5ca5809e3ae724c0ecba6b61c24","user":{"login":"KiteAnton","id":15310830,"avatar_url":"https://avatars.githubusercontent.com/u/15310830?v=3","gravatar_id":"","url":"https://api.github.com/users/KiteAnton","html_url":"https://github.com/KiteAnton","followers_url":"https://api.github.com/users/KiteAnton/followers","following_url":"https://api.github.com/users/KiteAnton/following{/other_user}","gists_url":"https://api.github.com/users/KiteAnton/gists{/gist_id}","starred_url":"https://api.github.com/users/KiteAnton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiteAnton/subscriptions","organizations_url":"https://api.github.com/users/KiteAnton/orgs","repos_url":"https://api.github.com/users/KiteAnton/repos","events_url":"https://api.github.com/users/KiteAnton/events{/privacy}","received_events_url":"https://api.github.com/users/KiteAnton/received_events","type":"User","site_admin":false},"repo":{"id":61067899,"name":"betaflight-configurator","full_name":"KiteAnton/betaflight-configurator","owner":{"login":"KiteAnton","id":15310830,"avatar_url":"https://avatars.githubusercontent.com/u/15310830?v=3","gravatar_id":"","url":"https://api.github.com/users/KiteAnton","html_url":"https://github.com/KiteAnton","followers_url":"https://api.github.com/users/KiteAnton/followers","following_url":"https://api.github.com/users/KiteAnton/following{/other_user}","gists_url":"https://api.github.com/users/KiteAnton/gists{/gist_id}","starred_url":"https://api.github.com/users/KiteAnton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KiteAnton/subscriptions","organizations_url":"https://api.github.com/users/KiteAnton/orgs","repos_url":"https://api.github.com/users/KiteAnton/repos","events_url":"https://api.github.com/users/KiteAnton/events{/privacy}","received_events_url":"https://api.github.com/users/KiteAnton/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KiteAnton/betaflight-configurator","description":"Google chrome/chromium based configuration tool for the cleanflight firmware","fork":true,"url":"https://api.github.com/repos/KiteAnton/betaflight-configurator","forks_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/forks","keys_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/teams","hooks_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/hooks","issue_events_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/issues/events{/number}","events_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/events","assignees_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/assignees{/user}","branches_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/branches{/branch}","tags_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/tags","blobs_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/git/refs{/sha}","trees_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/statuses/{sha}","languages_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/languages","stargazers_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/stargazers","contributors_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/contributors","subscribers_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/subscribers","subscription_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/subscription","commits_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/commits{/sha}","git_commits_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/git/commits{/sha}","comments_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/comments{/number}","issue_comment_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/issues/comments{/number}","contents_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/contents/{+path}","compare_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/merges","archive_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/downloads","issues_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/issues{/number}","pulls_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/pulls{/number}","milestones_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/milestones{/number}","notifications_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/labels{/name}","releases_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/releases{/id}","deployments_url":"https://api.github.com/repos/KiteAnton/betaflight-configurator/deployments","created_at":"2016-06-13T20:35:51Z","updated_at":"2016-06-13T20:35:53Z","pushed_at":"2016-08-08T21:23:03Z","git_url":"git://github.com/KiteAnton/betaflight-configurator.git","ssh_url":"git@github.com:KiteAnton/betaflight-configurator.git","clone_url":"https://github.com/KiteAnton/betaflight-configurator.git","svn_url":"https://github.com/KiteAnton/betaflight-configurator","homepage":"","size":19969,"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":"development"}},"base":{"label":"betaflight:master","ref":"master","sha":"b4ce96745311a7febae00467dac57f7cff4edde4","user":{"login":"betaflight","id":19597933,"avatar_url":"https://avatars.githubusercontent.com/u/19597933?v=3","gravatar_id":"","url":"https://api.github.com/users/betaflight","html_url":"https://github.com/betaflight","followers_url":"https://api.github.com/users/betaflight/followers","following_url":"https://api.github.com/users/betaflight/following{/other_user}","gists_url":"https://api.github.com/users/betaflight/gists{/gist_id}","starred_url":"https://api.github.com/users/betaflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betaflight/subscriptions","organizations_url":"https://api.github.com/users/betaflight/orgs","repos_url":"https://api.github.com/users/betaflight/repos","events_url":"https://api.github.com/users/betaflight/events{/privacy}","received_events_url":"https://api.github.com/users/betaflight/received_events","type":"Organization","site_admin":false},"repo":{"id":60735171,"name":"betaflight-configurator","full_name":"betaflight/betaflight-configurator","owner":{"login":"betaflight","id":19597933,"avatar_url":"https://avatars.githubusercontent.com/u/19597933?v=3","gravatar_id":"","url":"https://api.github.com/users/betaflight","html_url":"https://github.com/betaflight","followers_url":"https://api.github.com/users/betaflight/followers","following_url":"https://api.github.com/users/betaflight/following{/other_user}","gists_url":"https://api.github.com/users/betaflight/gists{/gist_id}","starred_url":"https://api.github.com/users/betaflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betaflight/subscriptions","organizations_url":"https://api.github.com/users/betaflight/orgs","repos_url":"https://api.github.com/users/betaflight/repos","events_url":"https://api.github.com/users/betaflight/events{/privacy}","received_events_url":"https://api.github.com/users/betaflight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/betaflight/betaflight-configurator","description":"Google chrome/chromium based configuration tool for the cleanflight firmware","fork":true,"url":"https://api.github.com/repos/betaflight/betaflight-configurator","forks_url":"https://api.github.com/repos/betaflight/betaflight-configurator/forks","keys_url":"https://api.github.com/repos/betaflight/betaflight-configurator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betaflight/betaflight-configurator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betaflight/betaflight-configurator/teams","hooks_url":"https://api.github.com/repos/betaflight/betaflight-configurator/hooks","issue_events_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/events{/number}","events_url":"https://api.github.com/repos/betaflight/betaflight-configurator/events","assignees_url":"https://api.github.com/repos/betaflight/betaflight-configurator/assignees{/user}","branches_url":"https://api.github.com/repos/betaflight/betaflight-configurator/branches{/branch}","tags_url":"https://api.github.com/repos/betaflight/betaflight-configurator/tags","blobs_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/refs{/sha}","trees_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/{sha}","languages_url":"https://api.github.com/repos/betaflight/betaflight-configurator/languages","stargazers_url":"https://api.github.com/repos/betaflight/betaflight-configurator/stargazers","contributors_url":"https://api.github.com/repos/betaflight/betaflight-configurator/contributors","subscribers_url":"https://api.github.com/repos/betaflight/betaflight-configurator/subscribers","subscription_url":"https://api.github.com/repos/betaflight/betaflight-configurator/subscription","commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/commits{/sha}","git_commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/commits{/sha}","comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/comments{/number}","issue_comment_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/comments{/number}","contents_url":"https://api.github.com/repos/betaflight/betaflight-configurator/contents/{+path}","compare_url":"https://api.github.com/repos/betaflight/betaflight-configurator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betaflight/betaflight-configurator/merges","archive_url":"https://api.github.com/repos/betaflight/betaflight-configurator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betaflight/betaflight-configurator/downloads","issues_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues{/number}","pulls_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls{/number}","milestones_url":"https://api.github.com/repos/betaflight/betaflight-configurator/milestones{/number}","notifications_url":"https://api.github.com/repos/betaflight/betaflight-configurator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betaflight/betaflight-configurator/labels{/name}","releases_url":"https://api.github.com/repos/betaflight/betaflight-configurator/releases{/id}","deployments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/deployments","created_at":"2016-06-08T22:32:34Z","updated_at":"2016-08-06T19:21:36Z","pushed_at":"2016-08-08T21:22:56Z","git_url":"git://github.com/betaflight/betaflight-configurator.git","ssh_url":"git@github.com:betaflight/betaflight-configurator.git","clone_url":"https://github.com/betaflight/betaflight-configurator.git","svn_url":"https://github.com/betaflight/betaflight-configurator","homepage":"","size":21280,"stargazers_count":31,"watchers_count":31,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":21,"forks":16,"open_issues":21,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195"},"html":{"href":"https://github.com/betaflight/betaflight-configurator/pull/195"},"issue":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/195"},"comments":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/195/comments"},"review_comments":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195/comments"},"review_comment":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/195/commits"},"statuses":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/e7cacef85168a5ca5809e3ae724c0ecba6b61c24"}}}}
{"actor":{"display_login":"KiteAnton"}}