Skip to content

Commit

Permalink
Merge pull request #4 from sboulema/main
Browse files Browse the repository at this point in the history
Add icon to button
  • Loading branch information
nneul committed Jun 27, 2022
2 parents 6a6a34d + 8b83184 commit a8548e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions one_click_mark/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ function hook_main_toolbar_button() {
$disable_button = $this->host->get($this, "disable_left_button");

if ( ! $disable_button ) {
print "<button dojoType=\"dijit.form.Button\" onclick=\"Feeds.catchupCurrent('')\">" . __('Mark as read') . "</button>\n";
print "<button dojoType=\"dijit.form.Button\" onclick=\"Feeds.catchupCurrent('')\"><i class=\"material-icons\">done_all</i>" . __('Mark as read') . "</button>\n";
}
}

function hook_toolbar_button() {
$disable_button = $this->host->get($this, "disable_right_button");

if ( ! $disable_button ) {
print "<button dojoType=\"dijit.form.Button\" onclick=\"Feeds.catchupCurrent('')\">" . __('Mark as read') . "</button>\n";
print "<button dojoType=\"dijit.form.Button\" onclick=\"Feeds.catchupCurrent('')\"><i class=\"material-icons\">done_all</i>" . __('Mark as read') . "</button>\n";
}
}

Expand Down

0 comments on commit a8548e2

Please sign in to comment.