We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eff6a6e commit afc1566Copy full SHA for afc1566
providers/unpoly/up.ts
@@ -88,14 +88,7 @@ export default class Up {
88
}
89
90
getTarget() {
91
- return this.getProperty('X-Up-Target') || 'body'
92
- }
93
-
94
- targetIncludes(selector: string): boolean {
95
- const target = this.getTarget()
96
- .split(',')
97
- .map((value) => value.trim())
98
- return target.includes('body') ? true : target.includes(selector)
+ return this.getProperty('X-Up-Target')
99
100
101
getTitle() {
0 commit comments