]> git.mxchange.org Git - friendica.git/commitdiff
add href attribute to jot links
authorrabuzarus <>
Mon, 3 Apr 2017 12:00:27 +0000 (14:00 +0200)
committerrabuzarus <>
Mon, 3 Apr 2017 12:00:27 +0000 (14:00 +0200)
view/theme/frio/templates/jot.tpl

index 75a0cbc0513ec0d60c2ac6fdaca5d19709ee18f1..d9e2faf576fe71d94cd2671c2b54da56ddc2014d 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">
-                                       <a class="jot-text-lnk" id="jot-text-lnk" onclick="jotActive(); return false;">{{$message}}</a>
+                                       <a href="#profile-jot-wrapper" class="jot-text-lnk" id="jot-text-lnk" onclick="jotActive(); return false;">{{$message}}</a>
                                </li>
                                {{if $acl}}
                                <li role="menuitem">
-                                       <a class="jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive(); return false;">{{$shortpermset}}</a>
+                                       <a href="#profile-jot-acl-wrapper" class="jot-perms-lnk" id="jot-perms-lnk" onclick="aclActive(); return false;">{{$shortpermset}}</a>
                                </li>
                                {{/if}}
                                {{if $preview}}
                                <li role="menuitem">
-                                       <a class="jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive(); return false;">{{$preview}}</a>
+                                       <a href="#jot-preview-content" class="jot-preview-lnk" id="jot-preview-lnk" onclick="previewActive(); return false;">{{$preview}}</a>
                                </li>
                                {{/if}}
                                <li role="menuitem">
-                                       <a class="jot-browser-lnk" id="jot-browser-link" onclick="fbrowserActive(); return false;">{{$browser}}</a>
+                                       <a href="#jot-fbrowser-wrapper" class="jot-browser-lnk" id="jot-browser-link" onclick="fbrowserActive(); return false;">{{$browser}}</a>
                                </li>
                        </ul>
 
                                        {{* 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 role="menuitem" style="display: none;">
-                                               <a class="jot-text-lnk" id="jot-text-lnk-mobile" onclick="jotActive(); return false;">{{$message}}</a>
+                                               <a href="#profile-jot-wrapper" class="jot-text-lnk" id="jot-text-lnk-mobile" onclick="jotActive(); return false;">{{$message}}</a>
                                        </li>
                                        {{if $acl}}
                                        <li role="menuitem">
-                                               <a class="jot-perms-lnk" id="jot-perms-lnk-mobile" onclick="aclActive(); return false;">{{$shortpermset}}</a>
+                                               <a href="#profile-jot-acl-wrapper" class="jot-perms-lnk" id="jot-perms-lnk-mobile" onclick="aclActive(); return false;">{{$shortpermset}}</a>
                                        </li>
                                        {{/if}}
                                        {{if $preview}}
                                        <li role="menuitem">
-                                               <a class="jot-preview-lnk" id="jot-preview-lnk-mobile" onclick="previewActive(); return false;">{{$preview}}</a>
+                                               <a <a href="#jot-preview-content" class="jot-preview-lnk" id="jot-preview-lnk-mobile" onclick="previewActive(); return false;">{{$preview}}</a>
                                        </li>
                                        {{/if}}
                                        <li role="menuitem">
-                                               <a id="jot-browser-lnk-mobile" onclick="fbrowserActive(); return false;">{{$browser}}</a>
+                                               <a href="#jot-fbrowser-wrapper" id="jot-browser-lnk-mobile" onclick="fbrowserActive(); return false;">{{$browser}}</a>
                                        </li>
                                </ul>
                        </div>