1
0
mirror of synced 2025-12-12 17:38:29 +08:00

Fixed typo.

This commit is contained in:
Jamie Peabody
2014-08-17 15:39:30 +01:00
parent e9e0a9d41b
commit 1b96990b1f

View File

@@ -104,9 +104,6 @@ This example demonstrates how to set left and right editors using ajax.
} }
document.getElementById('save-lhs').addEventListener('mouseover', function() { download_content(this, "lhs"); }, false); document.getElementById('save-lhs').addEventListener('mouseover', function() { download_content(this, "lhs"); }, false);
document.getElementById('save-rhs').addEventListener('mouseover', function() { download_content(this, "lhs"); }, false); document.getElementById('save-rhs').addEventListener('mouseover', function() { download_content(this, "lhs"); }, false);
//document.getElementById('save-lhs').addEventListener('click', function() { download_content(this, "lhs"); }, false);
//document.getElementById('save-rhs').addEventListener('click', function() { download_content(this, "lhs"); }, false);
document.getElementById('ignorews').addEventListener('change', function() { document.getElementById('ignorews').addEventListener('change', function() {
$('#compare').mergely('options', { ignorews: this.checked }); $('#compare').mergely('options', { ignorews: this.checked });
}, false); }, false);
@@ -126,7 +123,7 @@ This example demonstrates how to set left and right editors using ajax.
<td style="width: 50%;"><tt id="path-rhs"></tt> &nbsp; <a id="save-rhs" class="save-link" href="#">save</a></td> <td style="width: 50%;"><tt id="path-rhs"></tt> &nbsp; <a id="save-rhs" class="save-link" href="#">save</a></td>
</tr></table> </tr></table>
<div id="mergely-resizer" style="height: 450px;""> <div id="mergely-resizer" style="height: 450px;">
<div id="compare"> <div id="compare">
</div> </div>
</div> </div>