Skip to content

Commit

Permalink
Making the KendoUI adapter more useful:
Browse files Browse the repository at this point in the history
 - Modalviews should be excluded from enhancement
  • Loading branch information
EddyVerbruggen committed Oct 13, 2014
1 parent b36377d commit 55d6859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/NativePageTransitionsKendoAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
// if there is no default, we only need to enhance the specific tags
transAnchors = document.querySelectorAll("a[data-transition]");
} else {
// if there is a default, enhance all tags (except backbuttons), and honor the specific overrides if they exist
transAnchors = document.querySelectorAll('a[href]:not([data-role="backbutton"])');
// if there is a default, enhance all tags (except backbuttons and data-rel's (like modalview)), and honor the specific overrides if they exist
transAnchors = document.querySelectorAll('a[href]:not([data-role="backbutton"]):not([data-rel])');
// add a data-transition attribute to all anchors without one, so the processing below is uniform
for (var t = 0; t < transAnchors.length; t++) {
var theAnchor = transAnchors[t];
Expand Down

0 comments on commit 55d6859

Please sign in to comment.