Disabled initHighligtingOnLoad() since it gave an JS error and stopped all other JS from working on the site.

svn path=/trunk/; revision=23734
This commit is contained in:
otto 2012-07-07 18:04:49 +00:00
parent dba2f81803
commit b764503044
2 changed files with 7 additions and 5 deletions

View File

@ -144,7 +144,8 @@
<script>
hljs.tabReplace = " ";
hljs.initHighligtingOnLoad();
// hljs.initHighligtingOnLoad();
// above line throws error: Uncaught TypeError: Object [object Object] has no method 'initHighligtingOnLoad'
</script>
<xsl:comment>

View File

@ -37,13 +37,13 @@
</label>
</p>
<p>
<label id="semail">E-mail (required)
<label id="email">E-mail (required)
<input type="email" name="email" required="required" />
</label>
</p>
<p>
<label id="country">Country
<select name="country_code">
<label id="country">Country (required)
<select name="country_code" required="required">
<option value="">Select..</option>
<optgroup label="Europe">
<option value="AL">Albania (Shqipëria)</option>
@ -312,7 +312,8 @@
$(document).ready(function() {
$("form.support").validate({
rules: {
semail: {email: true, required: true}
email: {email: true, required: true},
country_code: {required: true}
}
});
});