1. fab31
  2. drink

Commits

fab31  committed d0e0ae1

Fix MarkdownPage ( Edit=>Ctrl+Enter return on view )

  • Participants
  • Parent commits f263e8e
  • Branches default

Comments (0)

Files changed (2)

File drink/static/base.js

View file
  • Ignore whitespace
         return l;
     };
     this.clear = function(opts) {
+        var opts = opts || {};
         var i = this.selected_item();
         i.removeClass(this.selection_class);
         this.current_list_pos = 0;

File drink/static/markitup/sets/markdown/set.js

View file
  • Ignore whitespace
             if (m) { // children entry
                 m.load_page(m.source);
             } else { /* main document edition */
-                drink.serve();
+                drink.serve(undefined, 'view');
             };
         })
     return false;