summaryrefslogtreecommitdiff
path: root/www/jsScuttle.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/jsScuttle.php')
-rw-r--r--www/jsScuttle.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/jsScuttle.php b/www/jsScuttle.php
index c166755..4f9d3b7 100644
--- a/www/jsScuttle.php
+++ b/www/jsScuttle.php
@@ -62,7 +62,7 @@ function isAvailable(input, response){
username = username.trim();
var availability = document.getElementById("availability");
if (username != '') {
- usernameField.style.backgroundImage = 'url(<?php echo ROOT; ?>images/loading.gif)';
+ usernameField.style.backgroundImage = 'url(<?php echo ROOT . 'themes/' . $GLOBALS['theme']; ?>/images/loading.gif)';
if (response != '') {
usernameField.style.backgroundImage = 'none';
if (response == 'true') {
@@ -92,7 +92,7 @@ function useAddress(ele) {
function getTitle(input, response){
var title = document.getElementById('titleField');
if (title.value == '') {
- title.style.backgroundImage = 'url(<?php echo ROOT; ?>images/loading.gif)';
+ title.style.backgroundImage = 'url(<?php echo ROOT . 'themes/' . $GLOBALS['theme']; ?>/images/loading.gif)';
if (response != null) {
title.style.backgroundImage = 'none';
title.value = response;