Skip to content

Commit

Permalink
Update MarkdownX.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bebo925 authored Mar 7, 2024
1 parent e1eefcc commit 28bd1ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MarkdownX.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function update($data)
{
$content = $data['content'];
$this->content = $content;
$this->emitUp('markdown-x:update', $this->content);
$this->dispatch('markdown-x:update', $this->content);
}

/**
Expand All @@ -62,7 +62,7 @@ public function update($data)
*/
public function updatedContent()
{
$this->emitUp('markdown-x:update', $this->content);
$this->dispatch('markdown-x:update', $this->content);
}

/**
Expand Down Expand Up @@ -212,7 +212,7 @@ public function sendResultsToView($response, $key)
);
}

$this->dispatchBrowserEvent('markdown-x-giphy-results', [
$this->dispatch('markdown-x-giphy-results', [
'status' => 200,
'message' => 'Successfully returned results.',
'results' => $parse_giphy_results,
Expand Down

0 comments on commit 28bd1ac

Please sign in to comment.