Revision 56510
Added by Argiro Kokogiannaki almost 5 years ago
project.component.ts | ||
---|---|---|
171 | 171 |
+ "\n<!--" |
172 | 172 |
+ "\ndocument.write('<div id=\"oa_widget\"></div>');" |
173 | 173 |
+ "\ndocument.write('<script type=\"text/javascript\"" |
174 |
+ "\nsrc=\""+this.properties.widgetLink
|
|
174 |
+ " src=\""+this.properties.widgetLink
|
|
175 | 175 |
+ this.projectId + "&type=publication\"></script>');" |
176 | 176 |
+ "\n-->" |
177 | 177 |
+ "\n</script>"; |
... | ... | |
181 | 181 |
+ "\n<!--" |
182 | 182 |
+ "\ndocument.write('<div id=\"oa_widget\"></div>');" |
183 | 183 |
+ "\ndocument.write('<script type=\"text/javascript\"" |
184 |
+ "\nsrc=\""+this.properties.widgetLink
|
|
184 |
+ " src=\""+this.properties.widgetLink
|
|
185 | 185 |
+ this.projectId + "&type=dataset\"></script>');" |
186 | 186 |
+ "\n-->" |
187 | 187 |
+ "\n</script>"; |
Also available in: Unified diff
[Library|Trunk]
Project landing: correct new line in the code of widget script