Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
41c8c976
Unverified
Commit
41c8c976
authored
Oct 26, 2020
by
Liana Husikyan
Committed by
GitHub
Oct 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed logs and fixed bug in media panel
parent
5491a8ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
landing-page.js
apps/remix-ide/src/app/ui/landing-page/landing-page.js
+1
-3
No files found.
apps/remix-ide/src/app/ui/landing-page/landing-page.js
View file @
41c8c976
...
...
@@ -164,7 +164,6 @@ export class LandingPage extends ViewPlugin {
`
this
.
adjustMediaPanel
()
globalRegistry
.
get
(
'themeModule'
).
api
.
events
.
on
(
'themeChanged'
,
(
theme
)
=>
{
console
.
log
(
"theme is "
,
theme
.
quality
)
this
.
onThemeChanged
(
theme
.
quality
)
})
}
...
...
@@ -177,6 +176,7 @@ export class LandingPage extends ViewPlugin {
hideMediaPanel
(
e
)
{
const
mediaPanelsTitle
=
document
.
getElementById
(
'remixIDEMediaPanelsTitle'
)
const
mediaPanels
=
document
.
getElementById
(
'remixIDEMediaPanels'
)
if
(
!
mediaPanelsTitle
||
!
mediaPanels
)
return
if
(
!
mediaPanelsTitle
.
contains
(
e
.
target
)
&&
!
mediaPanels
.
contains
(
e
.
target
))
{
this
.
mediumPanel
.
classList
.
remove
(
'd-block'
)
this
.
mediumPanel
.
classList
.
add
(
'd-none'
)
...
...
@@ -186,7 +186,6 @@ export class LandingPage extends ViewPlugin {
}
onThemeChanged
(
themeQuality
)
{
console
.
log
(
"themes in listener is"
,
themeQuality
)
let
twitterFrame
=
yo
`
<div class="px-2
${
css
.
media
}
">
<a class="twitter-timeline"
...
...
@@ -204,7 +203,6 @@ export class LandingPage extends ViewPlugin {
}
showMediaPanel
(
e
)
{
console
.
log
(
e
)
if
(
e
.
target
.
id
===
'remixIDEHomeTwitterbtn'
)
{
this
.
mediumPanel
.
classList
.
remove
(
'd-block'
)
this
.
mediumPanel
.
classList
.
add
(
'd-none'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment