Skip to content

Commit

Permalink
Update binaries.
Browse files Browse the repository at this point in the history
  • Loading branch information
signalpoint committed Aug 15, 2016
1 parent 91acadf commit 9b5da7a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion bin/drupalgap.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! drupalgap 2016-08-13 */
/*! drupalgap 2016-08-15 */
// Initialize the drupalgap json object.
var drupalgap = drupalgap || drupalgap_init(); // Do not remove this line.

Expand Down Expand Up @@ -5697,7 +5697,11 @@ function drupalgap_remove_page_from_dom(page_id) {
var options = {};
if (typeof arguments[1] !== 'undefined') { options = arguments[1]; }
if (current_page_id != page_id || options.force) {
var currentPage = $('#' + current_page_id);
// Preserve and re-apply style to current page, @see https://github.com/signalpoint/DrupalGap/issues/837
var style = $(currentPage).attr('style');
$('#' + page_id).empty().remove();
if (style) { $(currentPage).attr('style', style); }
var page_index = drupalgap.pages.indexOf(page_id);
if (page_index > -1) { drupalgap.pages.splice(page_index, 1); }
// We'll remove the query string, unless we were instructed to leave it.
Expand Down
Loading

0 comments on commit 9b5da7a

Please sign in to comment.