close_button: fix warning

This commit is contained in:
Andrew Dolgov 2021-02-10 21:40:31 +03:00
parent 7833760fa0
commit 72edab5f1c
1 changed files with 1 additions and 3 deletions

View File

@ -20,12 +20,10 @@ class Close_Button extends Plugin {
function hook_article_button($line) {
if (!get_pref("COMBINED_DISPLAY_MODE")) {
$rv = "<i class='material-icons icon-close-article'
return "<i class='material-icons icon-close-article'
style='cursor : pointer' onclick='Article.close()'
title='".__('Close article')."'>close</i>";
}
return $rv;
}
function api_version() {