Commit 4281e987 authored by Adrien Dorsaz's avatar Adrien Dorsaz

Use button for Read it later

parent f446ee3e
......@@ -13,8 +13,7 @@ function fleaditlater_plugin_AddButton(&$event){
$count = mysql_query('SELECT COUNT(id) FROM `'.MYSQL_PREFIX.'plugin_feaditlater` WHERE event='.$eventId);
$count = mysql_fetch_row($count);
if(!$count[0]){
echo '<a class="pointer fleaditLaterButton" onclick="fleadItLater('.$eventId.',\'add\',this);">Lire + Tard</a>&nbsp;';
//echo '<div onclick="fleadItLater('.$eventId.',\'add\',this);" class="fleaditLaterButton">Lire + Tard</div>';
echo '<button onclick="fleadItLater('.$eventId.',\'add\',this);">Lire + Tard</button>&nbsp;';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment