We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1efec80 + 39e3391 commit 4773fceCopy full SHA for 4773fce
services/natural_language_understanding/v1.html
@@ -249,10 +249,13 @@
249
}
250
};
251
252
- nluV1.CreateIListener = function(listen, action) {
+ nluV1.CreateIListener = function(listen, action, opp=false) {
253
listen.change(function(val){
254
var isSet = listen.prop('checked');
255
- nluV1.setVisibility(action, listen.prop('checked'));
+ if (opp) {
256
+ isSet = !isSet;
257
+ }
258
+ nluV1.setVisibility(action, isSet);
259
});
260
261
@@ -283,7 +286,7 @@
283
286
284
287
285
288
nluV1.CreateIListener($('#node-input-default-endpoint'),
- $('#nnode-input-service-endpoint'));
289
+ $('#node-input-service-endpoint'), true);
290
291
292
0 commit comments