Excluded gists from InstantClick (#18289)
This commit is contained in:
parent
8550ac3db1
commit
e25a237ff0
1 changed files with 2 additions and 0 deletions
|
|
@ -419,6 +419,8 @@ var instantClick
|
|||
// a script add or delete script elements, so we need to put script
|
||||
// elements in an array to loop through them correctly.
|
||||
for (i = 0; i < scriptElementsInDOM.length; i++) {
|
||||
// gist liquid tags are handled seperately via app/javascript/utilities/gist.js
|
||||
if(scriptElementsInDOM[i].id === 'gist-ltag') continue;
|
||||
scriptElementsToCopy.push(scriptElementsInDOM[i])
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue