diff --git a/static/js/apiDialog.js b/static/js/apiDialog.js
index c5a0be801..073986a00 100644
--- a/static/js/apiDialog.js
+++ b/static/js/apiDialog.js
@@ -142,7 +142,7 @@ pandora.ui.apiDialog = function() {
.replace(/(takes \{|returns \{|note: |see: )/g, '$1')
.replace(/`(\w+?)`/g, '$1')
);
- parts = $doc.html.split('notes: ');
+ parts = $doc.html().split('notes: ');
if (len(parts) == 2) {
parts_ = parts[1].split('see: ');
if (len(parts_) == 2) {
@@ -153,7 +153,7 @@ pandora.ui.apiDialog = function() {
}
$doc.html(parts.join('notes: '));
}
- parts = $doc.html.split('see: ');
+ parts = $doc.html().split('see: ');
if (len(parts) == 2) {
parts[1] = parts[1].replace(/\n\s+?/, '').split(', ').map(
function(action) {