Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dev.biuro
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Biuro
dev.biuro
Commits
5b3b4f46
Commit
5b3b4f46
authored
Dec 20, 2019
by
Simonas
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'small-bugs' into dev
parents
777ca6be
7b32190d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
7 deletions
+9
-7
_layout--aside.css
wp-content/themes/biuro/css/05-layout/_layout--aside.css
+1
-1
core.min.css
wp-content/themes/biuro/css/core.min.css
+2
-2
autocomplete.min.js
wp-content/themes/biuro/js/components/autocomplete.min.js
+1
-1
autocomplete.js
...t/themes/biuro/js/components/autocomplete/autocomplete.js
+4
-2
main.min.js
wp-content/themes/biuro/js/main.min.js
+1
-1
No files found.
wp-content/themes/biuro/css/05-layout/_layout--aside.css
View file @
5b3b4f46
...
...
@@ -12,7 +12,7 @@
padding-bottom
:
50px
;
}
@media
(
--min--medium
)
{
flex
:
0
0
400px
;
padding
:
70px
40px
;
flex
:
0
0
400px
;
padding
:
70px
40px
;
max-width
:
400px
;
}
}
...
...
wp-content/themes/biuro/css/core.min.css
View file @
5b3b4f46
This source diff could not be displayed because it is too large. You can
view the blob
instead.
wp-content/themes/biuro/js/components/autocomplete.min.js
View file @
5b3b4f46
This diff is collapsed.
Click to expand it.
wp-content/themes/biuro/js/components/autocomplete/autocomplete.js
View file @
5b3b4f46
...
...
@@ -19,6 +19,7 @@ const autocomplete = (str) => {
const
clear
=
document
.
querySelector
(
'.js-clear--'
+
str
);
let
isOpen
=
false
;
let
isClosed
=
false
;
const
update
=
(
langID
,
target
,
str
,
hidden
)
=>
{
const
type
=
(
target
.
id
===
'search-city'
)
?
'query'
:
'city'
;
...
...
@@ -97,12 +98,13 @@ const autocomplete = (str) => {
});
node
.
addEventListener
(
'focus'
,
()
=>
{
if
(
box
.
ul
.
childNodes
.
length
===
0
||
box
.
ul
.
hasAttribute
(
'hidden'
))
{
if
(
!
isOpen
&&
(
box
.
ul
.
childNodes
.
length
===
0
||
box
.
ul
.
hasAttribute
(
'hidden'
)
))
{
toggle
(
true
);
box
.
evaluate
();
}
else
{
toggle
(
false
);
box
.
close
();
node
.
blur
();
}
});
...
...
@@ -136,7 +138,7 @@ const autocomplete = (str) => {
});
if
(
arrow
)
{
arrow
.
addEventListener
(
'click'
,
()
=>
{
arrow
.
addEventListener
(
'click'
,
(
e
)
=>
{
if
(
!
isOpen
)
{
node
.
focus
();
}
else
{
...
...
wp-content/themes/biuro/js/main.min.js
View file @
5b3b4f46
...
...
@@ -92,7 +92,7 @@
/******/
/******/
var
hotApplyOnUpdate
=
true
;
/******/
// eslint-disable-next-line no-unused-vars
/******/
var
hotCurrentHash
=
"
297196b8612ef6440284
"
;
/******/
var
hotCurrentHash
=
"
0115a90eb0eff9676988
"
;
/******/
var
hotRequestTimeout
=
10000
;
/******/
var
hotCurrentModuleData
=
{};
/******/
var
hotCurrentChildModule
;
...
...
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