Browse Source

switch to bookmark-of

pull/35/head
Aaron Parecki 5 years ago
parent
commit
1fdf8feb67
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      views/new-bookmark.php

+ 2
- 3
views/new-bookmark.php View File

@ -13,9 +13,8 @@
<form role="form" style="margin-top: 20px;" id="note_form">
<div class="form-group">
<label for="note_bookmark"><code>bookmark</code></label>
<label for="note_bookmark"><code>bookmark-of</code></label>
<input type="text" id="note_bookmark" value="<?= $this->bookmark_url ?>" class="form-control">
<p class="help-block">Note: This will be changing to <code>bookmark-of</code> in the near future. It is best for your code to accept both for now.</p>
</div>
<div class="form-group">
@ -78,7 +77,7 @@ $(function(){
});
$.post("/micropub/post", {
bookmark: $("#note_bookmark").val(),
'bookmark-of': $("#note_bookmark").val(),
name: $("#note_name").val(),
content: $("#note_content").val(),
category: $("#note_category").val(),

Loading…
Cancel
Save