Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
166b3bd0
Commit
166b3bd0
authored
Jul 06, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase the clickable area for restoring a minimized chat
parent
38b26784
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
8 deletions
+13
-8
converse.js
converse.js
+7
-1
css/converse.css
css/converse.css
+1
-0
index.html
index.html
+1
-1
less/converse.less
less/converse.less
+1
-0
src/templates/chatroom.html
src/templates/chatroom.html
+0
-1
src/templates/trimmed_chat.html
src/templates/trimmed_chat.html
+3
-5
No files found.
converse.js
View file @
166b3bd0
...
...
@@ -1319,7 +1319,10 @@
return
this
;
},
close
:
function
()
{
close
:
function
(
ev
)
{
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
if
(
converse
.
connection
)
{
this
.
model
.
destroy
();
}
else
{
...
...
@@ -1339,6 +1342,9 @@
},
minimize
:
function
(
ev
)
{
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
// Minimizes a chat box
this
.
model
.
minimize
();
this
.
$el
.
hide
(
'
fast
'
,
converse
.
refreshwebkit
);
...
...
css/converse.css
View file @
166b3bd0
...
...
@@ -755,6 +755,7 @@ input.error {
float
:
left
;
margin-right
:
6px
;
}
#conversejs
.restore-chat
,
#conversejs
.chat-title
{
padding
:
1px
0
;
color
:
white
;
...
...
index.html
View file @
166b3bd0
...
...
@@ -11,7 +11,7 @@
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"css/theme.css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"css/converse.
min.
css"
/>
<link
type=
"text/css"
rel=
"stylesheet"
media=
"screen"
href=
"css/converse.css"
/>
<script
data-main=
"main"
src=
"components/requirejs/require.js"
></script>
<!--
<script src="builds/converse.min.js"></script>
...
...
less/converse.less
View file @
166b3bd0
...
...
@@ -819,6 +819,7 @@ input.error {
margin-right: 6px;
}
#conversejs .restore-chat,
#conversejs .chat-title {
padding: 1px 0;
color: white;
...
...
src/templates/chatroom.html
View file @
166b3bd0
...
...
@@ -2,7 +2,6 @@
{[
if
(
minimized
)
{
]}
style=
"display:none"
{[
}
]}
>
<div
class=
"dragresize dragresize-tm"
></div>
<div
class=
"chat-head chat-head-chatroom"
>
<div
class=
"chat-head-message-count"
>
0
</div>
<a
class=
"close-chatbox-button icon-close"
></a>
<a
class=
"toggle-chatbox-button icon-minus"
></a>
<a
class=
"configure-chatroom-button icon-wrench"
style=
"display:none"
></a>
...
...
src/templates/trimmed_chat.html
View file @
166b3bd0
...
...
@@ -2,8 +2,6 @@
<a
class=
"chat-head-message-count"
{[
if
(!
num_unread
)
{
]}
style=
"display: none"
{[
}
]}
href=
"#"
>
{{num_unread}}
</a>
<div
class=
"chat-title"
>
<a
href=
"#"
class=
"restore-chat"
title=
"{{tooltip}}"
>
{{ title }}
</a>
</div>
<a
href=
"#"
class=
"restore-chat"
title=
"{{tooltip}}"
>
{{ title }}
</a>
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