summaryrefslogtreecommitdiff
path: root/modules/overlay
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-09-17 12:12:26 -0700
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-09-17 12:12:26 -0700
commit409db6b29916ee8099b5165d327c538c488967f6 (patch)
tree42527ba496eeffa5b0ab2a14242406dca4df1839 /modules/overlay
parent8281aa22df7579718f8ea0a0a64345de0cd78430 (diff)
downloadbrdo-409db6b29916ee8099b5165d327c538c488967f6.tar.gz
brdo-409db6b29916ee8099b5165d327c538c488967f6.tar.bz2
Issue #1742958 by DamienMcKenna: Fix capitalization of URL and other acronyms
Diffstat (limited to 'modules/overlay')
-rw-r--r--modules/overlay/overlay-parent.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/overlay/overlay-parent.js b/modules/overlay/overlay-parent.js
index ace7deff7..76e1cf284 100644
--- a/modules/overlay/overlay-parent.js
+++ b/modules/overlay/overlay-parent.js
@@ -339,7 +339,7 @@ Drupal.overlay.setFocusBefore = function ($element, document) {
* Check if the given link is in the administrative section of the site.
*
* @param url
- * The url to be tested.
+ * The URL to be tested.
*
* @return boolean
* TRUE if the URL represents an administrative link, FALSE otherwise.
@@ -374,7 +374,7 @@ Drupal.overlay.isAdminLink = function (url) {
* Determine whether a link is external to the site.
*
* @param url
- * The url to be tested.
+ * The URL to be tested.
*
* @return boolean
* TRUE if the URL is external to the site, FALSE otherwise.
@@ -560,7 +560,7 @@ Drupal.overlay.eventhandlerOverrideLink = function (event) {
var target = $target[0];
var href = target.href;
- // Only handle links that have an href attribute and use the http(s) protocol.
+ // Only handle links that have an href attribute and use the HTTP(S) protocol.
if (href != undefined && href != '' && target.protocol.match(/^https?\:/)) {
var anchor = href.replace(target.ownerDocument.location.href, '');
// Skip anchor links.