From 12a7e7776ba86f67d1e2bd48f8a46d90e2da3a9b Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Tue, 10 Jun 2014 08:16:33 +1000 Subject: [PATCH] Minor --- modules/system/assets/js/framework.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index d6e3ae576..b9c28a623 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -161,8 +161,8 @@ if (window.jQuery === undefined) var selector = (options.update[partial]) ? options.update[partial] : partial if (jQuery.type(selector) == 'string' && selector.charAt(0) == '@') { $(selector.substring(1)).append(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]) - } else if(jQuery.type(selector) == 'string' && selector.charAt(0) == '^'){ - $(selector.substring(1)).prepend(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]); + } else if (jQuery.type(selector) == 'string' && selector.charAt(0) == '^') { + $(selector.substring(1)).prepend(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]) } else $(selector).html(data[partial]).trigger('ajaxUpdate', [context, data, textStatus, jqXHR]) }