Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: mozilla/kuma
...
head fork: mozilla/kuma
compare: cd590cb8a42e35b69d647965eae191dc60b55a44
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 3 files changed
  • 0 commit comments
  • 2 contributors
View
2  apps/landing/templates/landing/home_new.html
@@ -51,7 +51,7 @@
<li><a href="{{ devmo_url('Web/Reference') }}">{{ _('References') }}</a></li>
<li><a href="{{ devmo_url('Web/Guide') }}">{{ _('Developer Guides') }}</a></li>
<li>&nbsp;</li>
- <li><a href="{{ devmo_url('Developer_tools') }}">{{ _('Developer Tools') }}</a></li>
+ <li><a href="{{ devmo_url('tools') }}">{{ _('Developer Tools') }}</a></li>
<li><a href="{{ devmo_url('Web/Apps') }}">{{ _('Apps') }}</a></li>
<li><a href="{{ url('demos') }}">{{ _('Demos') }}</a></li>
</ul>
View
11 media/js/search.js
@@ -3,10 +3,6 @@ $(document).ready(function() {
var tabs = $('#search-tabs').tabs(),
cache_search_date = $('.showhide-input');
- $('#search-tabs input[name="q"]').autoPlaceholderText();
- $('#search-tabs input[name="author"]').autoPlaceholderText();
- $('#search-tabs input[name="tags"]').autoPlaceholderText();
-
$('#tab-wrapper form').submit(function() {
$('input.auto-fill').each(function() {
var $this = $(this);
@@ -61,10 +57,11 @@ jQuery.fn.numericInput = function (options) {
}
this.keydown(function(event) {
+ var key = event.keyCode;
// Allow only backspace and delete
- if ( event.keyCode == 46 || event.keyCode == 8 ) {
+ if ( key == 46 || key == 8 ) {
// let it happen, don't do anything
- } else if (event.shiftKey || event.keyCode < 48 || event.keyCode > 57) {
+ } else if (event.shiftKey || key < 48 || key > 57) {
// Ensure that it is a number and stop the keypress
event.preventDefault();
}
@@ -72,4 +69,4 @@ jQuery.fn.numericInput = function (options) {
return this;
-};
+};
View
2  templates/base.html
@@ -75,7 +75,7 @@
<li><a href="{{ devmo_url('Web/Guide/Graphics') }}?menu">{{ _('Graphics') }}</a></li>
<li><a href="{{ devmo_url('Web/API') }}?menu">{{ _('APIs / DOM') }}</a></li>
<li><a href="{{ devmo_url('Web/Apps') }}?menu">{{ _('Apps') }}</a></li>
- <li><a href="{{ devmo_url('Developer_tools') }}?menu">{{ _('Dev Tools') }}</a></li>
+ <li><a href="{{ devmo_url('tools') }}?menu">{{ _('Dev Tools') }}</a></li>
<li><a href="{{ devmo_url('Web/MathML') }}?menu">{{ _('MathML') }}</a></li>
</ul>
</li>

No commit comments for this range

Something went wrong with that request. Please try again.