]> git.mxchange.org Git - friendica.git/commitdiff
Revert jot tabs to links due to Bootstrap not supporting button styling
authorHypolite Petovan <ben.lort@gmail.com>
Wed, 15 Mar 2017 11:24:14 +0000 (07:24 -0400)
committerHypolite Petovan <ben.lort@gmail.com>
Wed, 15 Mar 2017 11:24:14 +0000 (07:24 -0400)
view/theme/frio/templates/jot.tpl

index edab2a074535678952f92ef6e2e8ea7b2882d969..c3fbbcbe8f657397448b7d6ef4966910564728a5 100644 (file)
                                {{* Mark the first list entry as active because it is the first which is active after opening
                                        the modal. Changing of the activity status is done by js in jot.tpl-header *}}
                                <li class="active" role="menuitem">
-                                       <button type="button" class="btn btn-link jot-text-lnk" id="jot-text-lnk" onclick="jotActive();">{{$message}}</button>
+                                       <a class="jot-text-lnk" id="jot-text-lnk" onclick="jotActive(); return false;">{{$message}}</a>
                                </li>
                                {{if $acl}}
                                <li role="menuitem">
-                                       <button type="button" class="btn btn-link jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive();">{{$shortpermset}}</button>
+                                       <a class="btn btn-link jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive(); return false;">{{$shortpermset}}</a>
                                </li>
                                {{/if}}
                                {{if $preview}}
                                <li role="menuitem">
-                                       <button type="button" class="btn btn-link jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive();">{{$preview}}</button>
+                                       <a class="btn btn-link jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive(); return false;">{{$preview}}</a>
                                </li>
                                {{/if}}
                                <li role="menuitem">
-                                       <button type="button" class="btn btn-link" id="jot-browser-link" onclick="fbrowserActive();">{{$browser}}</button>
+                                       <a class="btn btn-link" id="jot-browser-link" onclick="fbrowserActive(); return false;">{{$browser}}</a>
                                </li>
                        </ul>