close_button: fix warning

master
Andrew Dolgov 4 years ago
parent 7833760fa0
commit 72edab5f1c

@ -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() {

Loading…
Cancel
Save