Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
4157456a
Commit
4157456a
authored
Oct 10, 2016
by
Dominik Hebeler
Browse files
Masonry wird nur noch aufgreufen, wenn der Bildertab angezeigt wird
parent
c8cf364c
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/js/scriptResultPage.js
View file @
4157456a
$
(
document
).
ready
(
function
()
{
getDocumentReadyForUse
();
getDocumentReadyForUse
(
$
(
"
#foki > li.active > a
"
).
attr
(
"
aria-controls
"
)
);
});
function
tabs
()
{
...
...
@@ -18,17 +18,18 @@ function tabs() {
$
(
"
#
"
+
fokus
+
"
TabSelector
"
).
attr
(
"
data-loaded
"
,
"
1
"
);
$
(
"
#
"
+
fokus
).
html
(
data
);
$
(
"
input[name=focus]
"
).
val
(
$
(
"
#foki li.active a
"
).
attr
(
"
aria-controls
"
));
getDocumentReadyForUse
();
getDocumentReadyForUse
(
fokus
);
});
}
else
{
getDocumentReadyForUse
(
fokus
);
}
getDocumentReadyForUse
();
});
}
function
getDocumentReadyForUse
()
{
function
getDocumentReadyForUse
(
fokus
=
""
)
{
clickLog
();
popovers
();
imageLoader
();
if
(
fokus
===
"
bilder
"
)
imageLoader
();
//pagination();
tabs
();
theme
();
...
...
@@ -113,6 +114,7 @@ function paginationHandler() {
}
function
imageLoader
()
{
console
.
log
(
"
bilder
"
);
if
(
typeof
$
(
"
#container
"
).
masonry
==
"
undefined
"
)
{
return
;
}
...
...
Write
Preview
Supports
Markdown
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