Fossil SCM
Put the <form> outside of the chat-input-area <div>. Safari requires this.
Commit
ca60df923879f7cdeddd5ed611e0a31381801f89c5bc65ff316e569212793311
Parent
cdc6dec7c78aedf…
1 file changed
+2
-2
+2
-2
| --- src/chat.c | ||
| +++ src/chat.c | ||
| @@ -112,12 +112,12 @@ | ||
| 112 | 112 | iPingTcp = atoi(PD("ping","0")); |
| 113 | 113 | if( iPingTcp<1000 || iPingTcp>65535 ) iPingTcp = 0; |
| 114 | 114 | if( iPingTcp ) style_disable_csp(); |
| 115 | 115 | style_set_current_feature("chat"); |
| 116 | 116 | style_header("Chat"); |
| 117 | - @ <div id='chat-input-area'> | |
| 118 | 117 | @ <form accept-encoding="utf-8" id="chat-form" autocomplete="off"> |
| 118 | + @ <div id='chat-input-area'> | |
| 119 | 119 | @ <div id='chat-input-line'> |
| 120 | 120 | @ <input type="text" name="msg" id="chat-input-single" \ |
| 121 | 121 | @ placeholder="Type message here." autocomplete="off"> |
| 122 | 122 | @ <textarea rows="8" id="chat-input-multi" \ |
| 123 | 123 | @ placeholder="Type message here" class="hidden"></textarea> |
| @@ -136,12 +136,12 @@ | ||
| 136 | 136 | @ </div> |
| 137 | 137 | @ <input type="file" name="file" id="chat-input-file"> |
| 138 | 138 | @ </div> |
| 139 | 139 | @ <div id="chat-drop-details"></div> |
| 140 | 140 | @ </div> |
| 141 | - @ </form> | |
| 142 | 141 | @ </div> |
| 142 | + @ </form> | |
| 143 | 143 | @ <div id='chat-messages-wrapper'> |
| 144 | 144 | /* New chat messages get inserted immediately after this element */ |
| 145 | 145 | @ <span id='message-inject-point'></span> |
| 146 | 146 | @ </div> |
| 147 | 147 | |
| 148 | 148 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -112,12 +112,12 @@ | |
| 112 | iPingTcp = atoi(PD("ping","0")); |
| 113 | if( iPingTcp<1000 || iPingTcp>65535 ) iPingTcp = 0; |
| 114 | if( iPingTcp ) style_disable_csp(); |
| 115 | style_set_current_feature("chat"); |
| 116 | style_header("Chat"); |
| 117 | @ <div id='chat-input-area'> |
| 118 | @ <form accept-encoding="utf-8" id="chat-form" autocomplete="off"> |
| 119 | @ <div id='chat-input-line'> |
| 120 | @ <input type="text" name="msg" id="chat-input-single" \ |
| 121 | @ placeholder="Type message here." autocomplete="off"> |
| 122 | @ <textarea rows="8" id="chat-input-multi" \ |
| 123 | @ placeholder="Type message here" class="hidden"></textarea> |
| @@ -136,12 +136,12 @@ | |
| 136 | @ </div> |
| 137 | @ <input type="file" name="file" id="chat-input-file"> |
| 138 | @ </div> |
| 139 | @ <div id="chat-drop-details"></div> |
| 140 | @ </div> |
| 141 | @ </form> |
| 142 | @ </div> |
| 143 | @ <div id='chat-messages-wrapper'> |
| 144 | /* New chat messages get inserted immediately after this element */ |
| 145 | @ <span id='message-inject-point'></span> |
| 146 | @ </div> |
| 147 | |
| 148 |
| --- src/chat.c | |
| +++ src/chat.c | |
| @@ -112,12 +112,12 @@ | |
| 112 | iPingTcp = atoi(PD("ping","0")); |
| 113 | if( iPingTcp<1000 || iPingTcp>65535 ) iPingTcp = 0; |
| 114 | if( iPingTcp ) style_disable_csp(); |
| 115 | style_set_current_feature("chat"); |
| 116 | style_header("Chat"); |
| 117 | @ <form accept-encoding="utf-8" id="chat-form" autocomplete="off"> |
| 118 | @ <div id='chat-input-area'> |
| 119 | @ <div id='chat-input-line'> |
| 120 | @ <input type="text" name="msg" id="chat-input-single" \ |
| 121 | @ placeholder="Type message here." autocomplete="off"> |
| 122 | @ <textarea rows="8" id="chat-input-multi" \ |
| 123 | @ placeholder="Type message here" class="hidden"></textarea> |
| @@ -136,12 +136,12 @@ | |
| 136 | @ </div> |
| 137 | @ <input type="file" name="file" id="chat-input-file"> |
| 138 | @ </div> |
| 139 | @ <div id="chat-drop-details"></div> |
| 140 | @ </div> |
| 141 | @ </div> |
| 142 | @ </form> |
| 143 | @ <div id='chat-messages-wrapper'> |
| 144 | /* New chat messages get inserted immediately after this element */ |
| 145 | @ <span id='message-inject-point'></span> |
| 146 | @ </div> |
| 147 | |
| 148 |