Change javascript: to onclick= on most html
This commit is contained in:
parent
3252ce5d6f
commit
9d02511d35
|
@ -49,7 +49,7 @@
|
||||||
</div>
|
</div>
|
||||||
<?php if ($actor !== null): ?>
|
<?php if ($actor !== null): ?>
|
||||||
<div class="flex icon button noback round">
|
<div class="flex icon button noback round">
|
||||||
<a class="center" href="javascript:app.navmenu.show()">
|
<a class="center" onclick="app.navmenu.show()">
|
||||||
<img class="avatar round"
|
<img class="avatar round"
|
||||||
src="<?php echo htmlspecialchars($actor->icon) ?>"/>
|
src="<?php echo htmlspecialchars($actor->icon) ?>"/>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -9,28 +9,28 @@
|
||||||
</a>
|
</a>
|
||||||
<a id="meet-action-discard"
|
<a id="meet-action-discard"
|
||||||
class="component icon button noback light round" title="{s:alt.nav_discard}"
|
class="component icon button noback light round" title="{s:alt.nav_discard}"
|
||||||
href="javascript:app.pages.meet.actions.discard()">
|
onclick="app.pages.meet.actions.discard()">
|
||||||
<div class="ic-container flex">
|
<div class="ic-container flex">
|
||||||
<i class="center fa fa-times-circle fa-fw"></i>
|
<i class="center fa fa-times-circle fa-fw"></i>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a id="meet-action-crush"
|
<a id="meet-action-crush"
|
||||||
class="component icon button noback light round" title="{s:alt.nav_crush}"
|
class="component icon button noback light round" title="{s:alt.nav_crush}"
|
||||||
href="javascript:app.pages.meet.actions.crush()">
|
onclick="app.pages.meet.actions.crush()">
|
||||||
<div class="ic-container flex">
|
<div class="ic-container flex">
|
||||||
<i class="center fa fa-heart fa-fw"></i>
|
<i class="center fa fa-heart fa-fw"></i>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a id="meet-action-quiz"
|
<a id="meet-action-quiz"
|
||||||
class="component icon button noback light round" title="{s:alt.action_quiz}"
|
class="component icon button noback light round" title="{s:alt.action_quiz}"
|
||||||
href="javascript:app.pages.meet.actions.quiz()">
|
onclick="app.pages.meet.actions.quiz()">
|
||||||
<div class="ic-container flex">
|
<div class="ic-container flex">
|
||||||
<i class="center fa fa-quote-right fa-fw"></i>
|
<i class="center fa fa-quote-right fa-fw"></i>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<a id="meet-action-maybe"
|
<a id="meet-action-maybe"
|
||||||
class="component icon button noback light round" title="{s:alt.nav_crush}"
|
class="component icon button noback light round" title="{s:alt.nav_crush}"
|
||||||
href="javascript:app.pages.meet.actions.maybe()">
|
onclick="app.pages.meet.actions.maybe()">
|
||||||
<div class="ic-container flex">
|
<div class="ic-container flex">
|
||||||
<i class="center fa fa-question-circle fa-fw"></i>
|
<i class="center fa fa-question-circle fa-fw"></i>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute-top size-max content height-mobile">
|
<div class="absolute-top size-max content height-mobile">
|
||||||
<div style="height: 60%" class="status-avatar flex">
|
<div style="height: 60%" class="status-avatar flex">
|
||||||
<a class="flex center size-max" href="javascript:app.media.view('{.account.avatar.url}')"/>
|
<a class="flex center size-max" onclick="app.media.view('{.account.avatar.url}')"/>
|
||||||
<img class="center width-max" src="{.account.avatar.url}"/>
|
<img class="center width-max" src="{.account.avatar.url}"/>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue