Browse Source

Document magic ttl number

Thomas Dy 7 years ago
parent
commit
a5d4c5b06c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/ui/RecordList.jsx

+ 2 - 2
lib/ui/RecordList.jsx

@@ -40,7 +40,7 @@ var RecordCreate = React.createClass({
       type: this.refs.type.getDOMNode().value,
       name: this.refs.name.getDOMNode().value.trim(),
       content: this.refs.value.getDOMNode().value.trim(),
-      ttl: 1
+      ttl: 1 // automatic
     };
     this.finishSave(DomainStore.recordAdd(this.props.domain, newRecord));
   },
@@ -95,7 +95,7 @@ var Record = React.createClass({
       type: record.type.val(),
       name: this.refs.name.getDOMNode().value.trim(),
       content: this.refs.value.getDOMNode().value.trim(),
-      ttl: 1
+      ttl: 1 // automatic
     };
     if(record.proxied.val()) {
       newRecord.proxied = record.proxied.val();